Results 1 to 2 of 2
Mar 19, 2006, 15:01 #1
- Join Date
- Jan 2004
- 0 Post(s)
- 0 Thread(s)
$GET_ function goes from Mammals to animals_
I thought I was having trouble with my mod-rewrite script, but now it looks like $_GET may be the problem. I have the following at the top of the page:
$MyName = ($_GET['ref']);
Obviously, my new mysql_num_rows script won't work if $MyName = "Animals/?ref=animals...
$result = mysql_query("SELECT * FROM gs_sym_ref WHERE URL = '$MyName'", $link);
$num_rows = mysql_num_rows($result);
// MYSQL_NUM_ROW #1
if (mysql_num_rows($result) === 1 || empty($MyName))
Mar 19, 2006, 16:20 #2
oh sure we can find your problem with these little snipplets of codeLogic without the fatal effects.
All code snippets are licensed under WTFPL.