What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP and MySQL noob

2 votes - 3 average   PHP and MySQL noob
Author: Message:
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: PHP and MySQL noob
quote:
Originally posted by saralk
have a column called id, put one record in it, with the ID as 1, and then just run that script every time you want to update it
If there's only one row in the table, you don't need a WHERE statement in your query, because MySQL will update all the rows by default. Since there's only one row, "all" = "one." :p
01-23-2005 12:44 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP and MySQL noob - by Ezra on 01-22-2005 at 07:47 PM
RE: PHP and MySQL noob - by RaceProUK on 01-22-2005 at 08:49 PM
RE: PHP and MySQL noob - by Dempsey on 01-22-2005 at 09:14 PM
RE: PHP and MySQL noob - by Ezra on 01-22-2005 at 09:19 PM
RE: PHP and MySQL noob - by saralk on 01-22-2005 at 09:36 PM
RE: PHP and MySQL noob - by WDZ on 01-23-2005 at 12:44 AM
RE: PHP and MySQL noob - by Ezra on 01-23-2005 at 12:59 AM
RE: PHP and MySQL noob - by WDZ on 01-23-2005 at 01:11 AM
RE: PHP and MySQL noob - by Ezra on 01-23-2005 at 01:33 AM
RE: PHP and MySQL noob - by WDZ on 01-23-2005 at 05:25 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On