Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 6 of 6
Search took 0.05 seconds.
Search: Posts Made By: evestudent
Forum: PHP 01-18-2012, 06:23 AM
Replies: 7
Views: 728
Posted By evestudent
YEAY! :D Hubby Jim helped me to see that I'd...

YEAY! :D

Hubby Jim helped me to see that I'd forgotten the mysql_query in my query :)

It works!
Forum: PHP 01-18-2012, 04:17 AM
Replies: 7
Views: 728
Posted By evestudent
Argh! Here's the place where it's hanging up...

Argh!

Here's the place where it's hanging up on show.php....

echo $name;
echo $type;

// do the query
$query="SELECT * FROM $type WHERE common_name='" . $name . "'";
Forum: PHP 01-18-2012, 03:48 AM
Replies: 7
Views: 728
Posted By evestudent
Well, I tested the value of $name by echoing it...

Well, I tested the value of $name by echoing it before writing the table, and $name does not contain the %20, just regular spaces, so no worries there. However, it still is pulling no value for the...
Forum: PHP 01-18-2012, 03:32 AM
Replies: 7
Views: 728
Posted By evestudent
did not work

Success!

At least in part.

Now it doesn't recognize the comparison of common_name to $name in show.php, because it wants to change all spaces in that name to "%20", like "Box Turtle" becomes...
Forum: PHP 01-18-2012, 02:34 AM
Replies: 7
Views: 728
Posted By evestudent
Awesome! Give me a minute to test it and I'll...

Awesome! Give me a minute to test it and I'll post if I have a clue or not ;)
Forum: PHP 01-18-2012, 02:14 AM
Replies: 7
Views: 728
Posted By evestudent
creating new version of page each time they click on a link

Ok. So, I've built some tables in MySQL, a list of mammals, amphibians and reptiles.

When people visit the Mammals page (mammals.php), I want there to be a list of Mammal common names...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT +1. The time now is 09:56 PM.