help with a url
Posted: Fri Jul 05, 2002 2:44 am
Im making a script for my webhost because he never updates the hosted site page. so i want to make him a script where all he has todo is update the database via my form which is fine i can do that.
the only thing that is troubling me is that.
The urls that have to be out putted onto the page have to have the http:// in them. and when i try add that bit to the array part of the php script it comments out the rest of the script.
Eg.
the // in the http:// comments out the rest of the script.. is there any way to combat this??
the only thing that is troubling me is that.
The urls that have to be out putted onto the page have to have the http:// in them. and when i try add that bit to the array part of the php script it comments out the rest of the script.
Eg.
Code: Select all
while ( $data = mysql_fetch_array( $result ) )
{
echo 'Hosted Sites: '.
$dataї'sitename'].' <a href="http://'.
$dataї'url'].'">'.
$dataї'sitename'].'</a><br />';