Jump to content

Archived

This topic is now archived and is closed to further replies.

ddotdukes

Using symbols

Recommended Posts

Here is my line of code:

<?php echo $row_rsEvent['Name'],[:],$row_rsEvent['Date'], $row_rsEvent['Time']?>

Is there a way to put symbol in between the data. What I would like to have is something like :: or || betweem the data.

Share this post


Link to post
Share on other sites
[!--quoteo(post=386120:date=Jun 20 2006, 02:55 PM:name=ddotdukes)--][div class=\'quotetop\']QUOTE(ddotdukes @ Jun 20 2006, 02:55 PM) [snapback]386120[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Here is my line of code:

<?php echo $row_rsEvent['Name'],[:],$row_rsEvent['Date'], $row_rsEvent['Time']?>

Is there a way to put symbol in between the data. What I would like to have is something like :: or || betweem the data.
[/quote]

just use quotes instead of the brackets:
[code]
<?php
echo $row_rsEvent['Name'] . ':' . $row_rsEvent['Date'] . ':' . $row_rsEvent['Time'];
?>
[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.