Search results

  1. D

    Handle 404 errors php?

    What im trying to do is use the file_get_contents function, and whenever i get a 404 error, "handle it" (or whatever is called in php), and display a message: "invalid query" (or anyother message) instead of the horrible default php message. This is the error im getting: Warning...
  2. D

    If statement php, what's wrong?

    Im working on a very little php script and Im having a trouble with the if statement. I want both conditions to be true and Im getting an error: if ($campo17 == 'No') { if ($campo6 > 9) {$rank = 'recruitf2p'}; //both conditions must be true, campo17 must be 'no' and campo6 must be >9. } echo($rank)
Back
Top