Jump to content

header() simple question


robert_gsfame

Recommended Posts

this question seems so stupid, but i really want to know the best way to write this code. :P

 

let say i have this code:

 

if(empty($num))

{

header("Location:index.php");

}

 

is it okay if i write it down like this?

 

if(empty($num))

{

  header("Location:index.php");

}

 

i mean there is a whitespace behind header()

 

thx in advance

Link to comment
https://forums.phpfreaks.com/topic/225051-header-simple-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.