Id number displays 0 and not 1

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!

Moderator: General Moderators

User avatar
cturner
Forum Contributor
Posts: 153
Joined: Sun Jul 16, 2006 3:03 am
Location: My computer

Post by cturner »

Once again thank you to everyone for their help. I don't need to post my code here anymore. I have searched the forums and have found the solution. The solution is:

Code: Select all

if (isset($_POST['propertyname'])) {
	$propertyname = mysql_real_escape_string($_POST['propertyname']);
}
for all the variables.
Post Reply