PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Recently I have being trying to develop a sign up script that allows you to choose an avatar from a small selection list. When the user likes that avatar they simply check that box but the part I am clueless to is how to identify the location of that avatar using PHP for putting into the mySQL database for future use. Below is a small sample of the avatar list:
then just enter value for the SQL value.. and call it as
<img src="avatars/avatar . $avpath . ">
you could also make it so they can enter a path to one also (their server), but you'd need to add a few things and just print out $avpath and not avatars/avatar$avpath