RE: [PHP] print problem
| From: | Michael Geier | Date: | Wed, 15 Nov 2000 13:40:45 +0000 |
| Subject: | RE: [PHP] print problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25429@lists.php.net to get a copy of this message | ||
what is it you are trying to do.
>? //this is backwards (should be '<?')
print ""; //does nothing but print nothing.
$My_Board //could be a variable set or function call, but forgot semi-colon
</php> //try '?>'
I would suggest checking the errata section of the book's website for
information regarding misprinted code.
-----Original Message-----
From: Joe Newbie [mailto:newbie.com@joe]
Sent: Wednesday, November 15, 2000 6:34 AM
To: php-general@lists.php.net
Subject: [PHP] print problem
Hi, I'm reading the book "Teach Yourself PHP in 15 Minutes" and can't figure
out why this doesn't work:
>?
print ""; $My_Board
</php>
Could someone please re-write my code so the message board works and the
cookie is set. Should I have included() or required() the Style Sheet(which
is faster)? And please tell my why this way is better than the ASP way?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net