View Single Post
Old 10-04-2009, 03:00 AM   #1 (permalink)
benton
The Contributor
 
Join Date: Apr 2008
Posts: 78
Thanks: 0
benton is on a distinguished road
Default How to write this

Given something like
PHP Code:
$check mysql_query("select a from table");
$item mysql_fetch_array($check);
echo 
$item['a']; 
Is it poosible to combine the last two statements? Something like
PHP Code:
echo (mysql_fetch_array($check)['a']); 
benton is offline  
Reply With Quote