Jump to content

[SOLVED] concatenation


harlequeen

Recommended Posts

Hi

 

I am trying to get a name to echo to the screen using the following code.

echo ($myrow["Firstname"].$myrow ["Surname"]);

but this does not allow me to put a space in between the two names.  I have tried adding a space after the field name "Firstname" or before "Surname" but this does not work. (presumably because the field names are different then?)

 

How do I do this please?

 

regards

 

Harlequeen

Link to comment
https://forums.phpfreaks.com/topic/114431-solved-concatenation/
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.