$result=("select * FROM blablabla ") ;
while($row = mysql_fetch_array($result))
{$another=("select * FROM blablabla ") ;
while($dow = mysql_fetch_array($another)){} }
this doesn't work please give me a tip
$result=("select * FROM blablabla ") ;
while($row = mysql_fetch_array($result))
{$another=("select * FROM blablabla ") ;
while($dow = mysql_fetch_array($another)){} }
this doesn't work please give me a tip
You're not actually running your queries:
$result=mysql_query("select * FROM blablabla ") ;
while($row = mysql_fetch_array($result))
{
// do stuff
}
Please, don't use mysql_*
functions in new code. They are no longer maintained and are officially deprecated. See the red box? Learn about prepared statements instead, and use PDO, or MySQLi - this article will help you decide which. If you choose PDO, here is a good tutorial.
maybe you mean,
$result = mysql_query("select * FROM blablabla ") ;
while($row = mysql_fetch_array($result))
{
}