View Single Post
  #10 (permalink)  
Old 02-01-06, 10:56 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by TheTinkeringToad
Eeek ok having a few more problems i think.

PHP Code:

   $class $_REQUEST['class'];

  if ( 
$class "" )
  {
    
$class "";
  } 
As mentioned before, this code is pointless. There's also an error in the IF statement, where you should have a double "==" instead of a single "=". A single "=" will set the var to that value instead of testing the value, but either way the code does nothing useful.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote