[PHP] Re: WHERE problem

2007-02-20 Thread Fergus Gibson
How about this instead, Mike? ?php // some code $fortune = mysql_query(SELECT text FROM fortunes ORDER BY RAND() LIMIT 1); $fortune = mysql_fetch_row($fortune); $fortune = sprintf( 'span class=quotecycquot;%squot;br /-Omniversalism.com/span', $fortune[0] ); // some more code ? MySQL is

Re: [PHP] Re: WHERE problem

2007-02-20 Thread Németh Zoltán
2007. 02. 20, kedd keltezéssel 01.33-kor Fergus Gibson ezt írta: How about this instead, Mike? ?php // some code $fortune = mysql_query(SELECT text FROM fortunes ORDER BY RAND() LIMIT 1); $fortune = mysql_fetch_row($fortune); $fortune = sprintf( 'span class=quotecycquot;%squot;br