Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

[PHP] Printing a string issue From: Craig Simon (Craig.Simon <email protected>)
Date: 06/29/01

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