MySQL Forums
Forum List  »  Newbie

Need help with form and database
Posted by: Andy
Date: August 01, 2005 06:38AM

I am slowly learning PHP and right now I stuck on how to verify if a record exists in a table.

I currently have a succesfull connection to my database, now I want to tell it to check a table for a user id, which I have as a variable on the page, and if there is no matching ID in the table show a form empty so it can be filled out.

If there is a matching ID then show the form filled out with the data from the record so it can be updated if the user wants to update it.

Any help would be greatly appreciated. This is by far the largest project I have attempted in PHP.

Options: ReplyQuote


Subject
Written By
Posted
Need help with form and database
August 01, 2005 06:38AM
August 01, 2005 12:04PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.