View Single Post
  #1 (permalink)  
Old February 20th, 2005, 05:20 AM
elania elania is offline
Authorized User
Join Date: Jan 2005
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to elania
Default how to display the result

i'm doing VIEW function. and this is my Mysql statement:

$sql = "SELECT * FROM staff, student WHERE f_Username.staff LIKE '$user' OR t_Username.student LIKE '$user'";
$result = mysql_query($sql, $conn);

the result can be from table staff or student. now how am i suppose to display the result?

i'm am total newbie
i\'m am total newbie
Reply With Quote