Printing a string issue
| From: | Craig Simon | Date: | Fri, 29 Jun 2001 21:09:04 +0000 |
| Subject: | Printing a string issue | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55606@lists.php.net to get a copy of this message | ||
Greetings everyone. I have been lurking for a while now, and now I am
developing my first application with PHP. I am running into an issue that I
would love some help with.
I am writing an application to handle phonelists and such. Now I am
creating a wireless version of the search page so that all the number links
will be automatically dialed when you click on them with your wap phone. A
link in WML would look like this
wtai://wp/mc;1-555-555-1212
from html it would look like this
"<p><a
href="wtai://wp/mc;1-555-555-1212"">Asst</a></p>"
So I am trying to figure out how to write this. I have a statement like
this:
print ("<p><a
href=\"wtai://wp/mc;"$row["officenum"]"\">Office</a></p>");
Although I can't get this to parse!
$row["officenum"] is a variable that will have the number that I am calling.
It is coming from a mysql db.
Any thoughts??
Thanks
Craig
Craig Simon Senior Systems Engineer
Mobileum Inc.
4234 Hacienda Drive, Pleasanton Ca 94588
(O) 925-251-7269 (C) 925-487-6005