RE: [PHP] Re: Pictures and sound in MySQL and access via PHP
| From: | David Freeman | Date: | Sun, 11 Aug 2002 22:06:15 +0000 |
| Subject: | RE: [PHP] Re: Pictures and sound in MySQL and access via PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112056@lists.php.net to get a copy of this message | ||
> How do you make a link in MySQL?
>
> I tried following code were the field "geluid" contains a
> link to a mp3
> while ($row=mysql_fetch_array($result))
> {
> echo "<tr><td>";
> echo $row[woord_nl]. "</td><td>"
> . $row[woord_ost]. "</td><td>"
> . $row[betekenis_nl]. "</td><td>"
> . $row[geluid];
> echo "</td></tr>";
> }
I'd do something like this:
. "<a href=\"" . $row[geluid] . "\">" . $row[geluid] .
"</a>"
To get you link - basically, just put your link into the appropriate
html tags. If you prefer a button or something else then apply the html
you'd use and go with it.
CYA, Dave