View Single Post
Old 19-03-2004, 13:30   #10
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: PHP help needed this time :D

Quote:
Originally Posted by Richard M
If you basically need to get a variable from the URL just do it like this:

PHP Code:
$styles = $_GET['styles'];
echo 
"<link rel=\"stylesheet\" href=\"$styles\" type=\"text/css\" />"; 
Still gives me this error

Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in xxxxxxxxxxxxxxxxxxxxxxxx
because styles=whatever is in the URL it's somehow trying to find that field in the DB by the look of it, when it can't find it it throws the above
Bifta is offline   Reply With Quote