php mysql query extend to perform two actions

I have the following snippet of php code.  I need to truncate two tables...how do I format the $query1 line to do this?

   
 $query1 = "TRUNCATE TABLE ALIASES";
    $result = mysql_query($query1);

    if ($result) 
       echo "ALIASES Table Reset
		 
	";
    else 
       echo "There was a problem resetting ALIASES
		 
	";

Open in new window

pda4meAsked:
Who is Participating?
 
Ray PaseurCommented:
Use two TRUNCATE queries.  Run them separately.  
0
 
Hugh McCurdyCommented:
I agree with Ray.
0
 
pda4meAuthor Commented:
Thanks Ray!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.