php - MySQL Image Storing -
i want create online rpg game..! searched tutorials on net storing images in mysql.. different..from needed!
i don't want "upload" images! server having images..for example.. pokemons!!.. stored in server! need user select 1 pokemon , store related data in account!
above example want. there's no upload image etc etc... data , images stored , users have fetch them in account!
i don't want exact code... if can explain me how done..or give similar tutorial thankful
you don't have store images in database: store somewhere in server, , in database store the path image in table pokemon(id, name, path_to_image)
.
then in code, use path stored in database link image. , also, when user capture pokemon, you'll need table capture(user_id, pokemon_id)
.
Comments
Post a Comment