[ale] Proper syntax for strings in PHP
Gary S. Mackay
Gary at edisoninfo.com
Sat Jul 29 11:47:24 EDT 2000
Here's a real easy one for you.
With apache/php4/mysql, how do I tack two strings, or mainly, a string and a
function together? What I'm trying to do is this:
echo "<td><b>" + mysql_field_name($result,$i) + "</b></td>";
^ ^
|- Wrong! what do I put here -|
I realize I could stuff the function result to a variable then use that in the
echo line, but just wondered how to it all on one line.
- Gary
--
Edison Information Technologies
P.O. Box 554
Milan, OH 44846-0554
419.499.7040
www.EdisonInfo.com
Gary at EdisonInfo.com
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list