10-04-2009, 03:00 AM
|
#1 (permalink)
|
|
The Contributor
Join Date: Apr 2008
Posts: 78
Thanks: 0
|
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']);
|
|
|
|