Quote:
Photopost tables don't have the pp_ prefix, you'll need to alter the code to reflect your prefix.
|
Hi,
How/where would I place/define this?
PHP Code:
$result+=+mysql_query("SELECT+id,cat,bigimage+FROM+pp_photos+order+by+rand()+LIMIT+1"+)+or+die(mysql_error());+++
while($row+=+mysql_fetch_array(+$result+))+
Do I replace "pp_photos" with the name of my database?
Thanks in advance...