i need some help with PHP
I've got a situation like this:
http://myserveraddress.com/parser.php?name=user_1
this file do some stuff and output a png image, saving it in a folder on my server. Now I need to call my parser in another php file, inside a loop:
$result = mysql_query("SELECT * FROM users order by name")
or die(mysql_error());
while($row = mysql_fetch_array( $result ))
{
exec('parser.php?name='.$row['name']);
}
It don't seem to work, it doesn't output nothing and doesn't save anything... How can I fix it?