Jump to content

Using symbols


Recommended Posts

[!--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]
Link to comment
https://forums.phpfreaks.com/topic/12482-using-symbols/#findComment-47776
Share on other sites

Archived

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

×
×
  • Create New...

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.