...

View Full Version : Php linking id to input into db via form



jonny1990
01-27-2012, 05:44 PM
Hi guys,

I need helping taking the ID from the user and inputting it into a database via a form.

Here is the link to my code:

http://stackoverflow.com/questions/9037149/linking-session-id-to-database-using-mysql-php

Regards

Jon

Keleth
01-27-2012, 06:02 PM
Um...

Have you tested to see where the code is going wrong? Is the data making it from the form to the code that inserts it? Does the insert query look right? Where is $rows['id']; defined? Most of the comments over on stackoverflow are the same I have... you've dumped a bunch of code, but as nothing stands out as obviously wrong, you need to do the debugging.

Also, no point in double posting within hours of each other.

Spookster
01-27-2012, 06:11 PM
Double posted here. http://www.codingforums.com/showthread.php?t=249954

Closing thread.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum