Update a mysql field using PHP

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
okoa
New php-forum User
New php-forum User
Posts: 8
Joined: Wed May 08, 2013 9:18 am

Re: Update a mysql field using PHP

Post by okoa » Sun May 12, 2013 9:19 am

I am not sure if I got you right, but I think you need to add the WHERE clause on your update query.

swarups
New php-forum User
New php-forum User
Posts: 20
Joined: Tue Mar 06, 2012 11:05 pm

Re: Update a mysql field using PHP

Post by swarups » Sun May 12, 2013 9:59 pm

hi

You need to add Where clause at the end of query. like:

WHERE event date < current date;

Thanks
Swarup Sahu
http://www.mindfiresolutions.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests