I have a search query that will fetch a record in my database
code:
while($pid_row = sqlsrv_fetch_array($stmt_pid_check))
{
echo $pid_row['pid_code'];
}
I want all the result in the while loop to be stored in an array ang assign a session variable for the array...
How can I achieve it... Please Help