View Single Post
Old 10-05-2009, 11:13 AM   #5 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by adamdecaf View Post
That condenced line will throw an error.

PHP Code:
$check mysql_fetch_array(mysql_query("select a from table"));;
echo 
$check['a']; 
That will still throw an error. It does for me at least.
You have 2 ;; after each other on the first row.

Quote:
Originally Posted by benton View Post
I did - it doesn't work. Thus the question. Perhaps if you tried it you would see that too?
Your question was if it's possible to do so. If you tried to do so and it didn't work, it's logical to assume that it's not possible.

The reason I told you to try it was because I've seen people(including myself before) ask things they can easially try out on their own(trial and error is the best way of learning). If you've tried it, that's great.

For the record, I've tried that too a long time ago(or something similar) and it doesn't work.
__________________
Tanax is offline  
Reply With Quote