0

I want to execute my php code if the SQL table is there without ending my all next codes , for now this code stop all my next wrote codes if the table doesn't exist.

If($database->query(SELECT * 
  FROM my_table )){
  // My code if table exist
  }Else{
  // My codes if not
  }
Shadow
  • 33,525
  • 10
  • 51
  • 64

0 Answers0