Sunday, 15 March 2015

mysql - How to make Redirection PHP -


I am trying to check the database for a varchar "race" and if it is a redundant redirect on the page it is mine Code is ive, it ensures that the var is empty, yet it does nothing on reloading how I redirect php

     

You are not fetching any records, therefore Maybe use mysql_fetch_assoc first?

  $ line = mysql_fetch_assoc ($ check_bone_query); if (is_null ($ line)) {// or blank () use ('Location: / bone'); go out;}   

Using the PS MySQL _. * function PDO Or MySQLi

No comments:

Post a Comment