Update Two MySQL tables from one PHP form

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

Post Reply
t0m0
Forum Newbie
Posts: 4
Joined: Tue Feb 15, 2011 11:48 am

Update Two MySQL tables from one PHP form

Post by t0m0 »

Hi,

I am having some difficulty updating results in two MySQL tables.

Issue Now Fixed, Thank You!

Thank you for your time.
Last edited by t0m0 on Tue Feb 22, 2011 8:14 am, edited 1 time in total.
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Update Two MySQL tables from one PHP form

Post by social_experiment »

Code: Select all

mysql_query($sql_update) or die(mysql_error());
If you change your code segment to the one above, do you receive an error message?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
t0m0
Forum Newbie
Posts: 4
Joined: Tue Feb 15, 2011 11:48 am

Re: Update Two MySQL tables from one PHP form

Post by t0m0 »

Hi,

No there is no error message with your code inserted.

However, the original problem still exists.

Thanks for your reply.

Kind Regards,
Tom
Post Reply