On Sun, Jun 10, 2001 at 08:18:08PM -0700, Vladimir Kravtsov wrote:
> Well I fixed that part so now the file looks like this:

> $sql = "select id, siteurl, sitename, from sitesats where validated = '$validated'";

> Warning: Supplied argument is not a valid MySQL result resource in 
>c:\inetpub\wwwroot/php/X-TopSites/admin/admin.php on line 11
> You have an error in your SQL syntax near 'from sitesats where validated = '1'' at 
>line 1

> What could be wrong now?

Get rit if the comma after sitename - that only goes between items to select.

Whit

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to