Welcome visitor
* Login
* Register
It is currently May 22nd, 2019, 6:50 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Server Side » PHP



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  write ' in php
PostPosted: April 23rd, 2009, 12:41 am 

Posts: 17
Hi, im trying to mix php with html and i have put myself on a pretty complicated situation.

Using echo 'bla bla bla' uses the single quote symbol and using some html also uses the single quote, which results in the first echo quote closed. Is there an easy way around this?

I will appreciate ANY help on this, thank you.


Top
 Profile  
 
  Re: write ' in php
PostPosted: April 23rd, 2009, 1:54 am 
User avatar

Posts: 136
Add a \ before the '. :mrgreen:
<?php echo '\''; ?>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Server Side » PHP


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron