function getvalue($column) {
return mysql_result(mysql_query("SELECT $column FROM table1 WHERE user_id = $user_id"), 0);
}
After that...
echo getvalue('column');
But this don't work.
This post has been edited by no2pencil: 30 June 2012 - 04:42 PM
Reason for edit:: Added code tags

New Topic/Question
Reply



MultiQuote









|