View Single Post
Old 12-28-2004, 07:16 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
u have quotes inside quotes without isolating the variable with a period. this example encases the variable in single quotes. double quotes are used to close the string and attach the variable.
PHP Code:
<?
include("includes/head.php");
$result=mysql_query("select * from images where artist_name ='".$inartist."'"); 
?>
__________________
Mike
sde is offline   Reply With Quote