Re: Insert & Select URL into/from database table
| From: | Becoming Digital | Date: | Fri, 23 May 2003 02:54:43 +0000 |
| Subject: | Re: Insert & Select URL into/from database table | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27975@lists.php.net to get a copy of this message | ||
I'm sorry. You want to what? I really couldn't figure this one out. Let me
see if I got lucky.
The user inputs a URL into a form. Someone else searches (for something
unspecified) and this link shows up. You want the link to work. If this is the
case, you simply need to echo the form variable (we'll call it $url) like either
of the following. Which you choose depends on which you like more.
<a href="<? print "$url"; ?>"><? print "$url";
?></a>
<? print "<a
href=\"".$url."\">".$url."</a>"; ?>
If that's not what you're trying to do, perhaps you can explain a bit more
thoroughly.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
----- Original Message -----
From: "Michelle Whelan" <webmaster@dirtjobs.com>
To: <php-db@lists.php.net>
Sent: Thursday, 22 May, 2003 18:08
Subject: [PHP-DB] Insert & Select URL into/from database table
Hi,
Newbie here. This is my second post because I accidently deleted the answer from
the first. I have a table in a db to store job listings.
What I am looking for is how to write the code to insert a web page link or alt
text by way of form so that when a search is done the link will appear as part
of the results and be functional.
Please help.
Thanks. [input] -->