Hello,
I am getting an error with this code, but can not see
anything wrong with it
PHP Code:
$sql = "SELECT *.platforms, site_name.sites FROM platforms, sites WHERE site_no.platforms = site_id.sites AND platform_id = '$Db_platform_id' ";
$result = mysql_query($sql) or die("could not find SITE ". mysql_error());
I have tables "platforms" and "sites"
Error I get is :
Quote:
|
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.platforms, site_name.sites FROM platforms, sites WHERE site_no.platforms = site' at line 1
|
Can anyone see what I have done wrong. ??
Thanks
.
__________________
If you want to attract and keep more clients, then offer great
customer support.
Support-Focus.com. automates the process and gives you a
trust seal to place on your website.
I recommend that you at least take
the 30 day free trial.