FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » define ('NL', "<br />"); can I define a constant var ?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
define ('NL', "<br />"); can I define a constant var ? [message #180174] Tue, 22 January 2013 00:06 Go to previous message
cate is currently offline  cate
Messages: 12
Registered: January 2012
Karma:
Junior Member
I can see why this doesn't work:

define ('NL', '<br />');
echo "This is NL another line";

Is there a way to define a constant variable in PHP?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Passing complex data back when using cURL
Next Topic: my blog
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 09 16:27:43 GMT 2024

Total time taken to generate the page: 0.04363 seconds