outtputting dynamic link in xml tag using php
- From: prashant <prashant.kalyanraman@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 12:08:39 -0700 (PDT)
hi,
i am trying to create an xml tag ref to hold link.php?id=1; or
link.php?id=2 and so on.
I want the links for all the fields(id) in the databse so that when i
call them in my html page for google maps i have the whole link.The
tag in the php page i am using is
echo 'ref="link.php?id='.$row['id'] . '"';
the tag in html is
<a href="+ref+">" +"more info"+ "</a>"
Link.php takes in the id and runs a query and displays results based
on id.
Please tell me if what i am doing is rite or wrong.Also what is the
best way for me to go ahead with this.
Thanking You,
Prashant Kalyanraman
.
- Prev by Date: restrict page access to one referring page
- Next by Date: stream_socket_client and /etc/hosts file
- Previous by thread: restrict page access to one referring page
- Next by thread: stream_socket_client and /etc/hosts file
- Index(es):
Relevant Pages
|