class variable erro

This is where you share YOUR scripts with others

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 21
Joined: Tue Jul 12, 2011 3:51 am

Fri Jul 22, 2011 10:38 am

what troubled me this time around is cookies......i understood its meaning n what does it do.....
but this line:
is making me far as i knw the isset function is used to check wether the form is submitted or then y is ($msg) is in parenthesis...wat does this line actually mean??will it check wether $msg value is submitted or not,or what will it do???i have not given any button or submit values $msg in the below code....kindly tell me what does this line actually does...

$msg = '<p>Your settings have been <a href="view.php">HERE</a>to
see them in action.</p>';
print $msg;

pls help.....

New php-forum User
New php-forum User
Posts: 16
Joined: Wed Aug 10, 2011 10:48 pm
Location: Washington

Tue Aug 16, 2011 8:59 am

Old thread, but I'm bored so:

isset — Determine if a variable is set and is not NULL

All it is doing is making sure that $msg is not empty, and if it's not empty that print $msg.

Post Reply