select a column value
Posted: Thu Jun 23, 2011 4:49 am
Dear all,
new to php, so here a very easy thing which, I couldn't do.
i want to select a column value from a table. for example: select name from members where member_id = 1; for this in pl/sql the code is look like: select name into v_name from members where member_id =1;
the column value will be stored in v_name variable, now please guide me how it can be done in php. I want to display user name on page.
Regards:
new to php, so here a very easy thing which, I couldn't do.
i want to select a column value from a table. for example: select name from members where member_id = 1; for this in pl/sql the code is look like: select name into v_name from members where member_id =1;
the column value will be stored in v_name variable, now please guide me how it can be done in php. I want to display user name on page.
Regards: