
October 21st, 2003, 12:28 PM
|
|
|
|
Join Date: Apr 2007
Location: uk
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
in_array help please
Hallo,
I am trying to use the in_array function to search for an element in my array. I am trying to search through a table in my Oracle database called 'users'. Can anybody help me do this?
php Code:
Original
- php Code |
|
|
|
$users = array(users ); //is this part correct?? $got_username = in_array('$username', $users); if($got_username){ }else{ }
How do I specify my 'users' table to be searched?
Any help would be greatly appreciated.
Cheers,
Koy
|