[PHP-DB] Re: Upload images with minimun effort from final user

2005-09-27 Thread Sylvain Gourvil
You have just to rename the image with the news ID ! Perhaps I did not understand correctly your question ? Tell me if you want also an example (in french, sorry) of the upload and rename, etc wioth pear quickform David Arroyo wrote: Hi @ll, I have to make an interface for a newspaper site

[PHP-DB] Re: newbie question on PHP & Mysql...

2005-09-21 Thread Sylvain Gourvil
rname = ' .$argv[1] ); OR $result = mysql_query("SELECT SUM(AcctInputOctets), SUM(AcctOutputOctets) FROM radacct WHERE username = $argv[1]"); should do the trick 21nu Sylvain Gourvil wrote: Hi ! Could you do a "print_r($result)" after your mysql_query ? Or you sure of yo

[PHP-DB] Re: newbie question on PHP & Mysql...

2005-09-21 Thread Sylvain Gourvil
Hi ! Could you do a "print_r($result)" after your mysql_query ? Or you sure of your argv[1] ? Sylvain Gourvil Evert Meulie wrote: Hi all! I'm taking my first steps with PHP & MySQL. Can anyone give me a hint on why this would not work? * $result =