Hi guys
Im trying to call a value or values from a table from a specific row, but for sum reason it aint working, or i got the code wrong.
Im trying to call a value or values from a table from a specific row, but for sum reason it aint working, or i got the code wrong.
Code:
$item = mysql_fetch_array(mysql_query("SELECT value FROM table WHERE category='a'")); i want to select all the values in a column called category and print each value and i dont want to use the while statement. example: i want to print like this: hello $item[name1]. do you know $item[name2].
Comment