Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How do i use <? and ?> tags in php echo?
Old 02-06-2010, 10:05 AM How do i use <? and ?> tags in php echo?
Experienced Talker

Posts: 47
Trades: 0
Hello,
Im trying to make some php in a echo work, ir doesnt work at the moment.
I know why but i cant fix it...
its because the php statements are not working.

Does anyone know how to use <?php and ?> in a echo " " ??

Someone post code for it please,
Thanks
NextToNothing is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-06-2010, 10:24 AM Re: How do i use <? and ?> tags in php echo?
Novice Talker

Posts: 5
Trades: 0
You don't need to make php work inside a echo, because the php code is already open to allow you to echo.

Last edited by Nemessis; 02-06-2010 at 10:32 AM..
Nemessis is offline
Reply With Quote
View Public Profile
 
Old 02-06-2010, 10:54 AM Re: How do i use <? and ?> tags in php echo?
Experienced Talker

Posts: 47
Trades: 0
LOL
i forgot that i didnt have to use echo for it since it was php
NextToNothing is offline
Reply With Quote
View Public Profile
 
Old 02-07-2010, 12:31 PM Re: How do i use <? and ?> tags in php echo?
Defies a Status

Posts: 1,606
Trades: 0
But, if you were trying to make php echo something in the html part of a php page you would use something like this:

<?PHP echo $sitename . " | " . $title; ?>
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do i use <? and ?> tags in php echo?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44903 seconds with 12 queries