Hello , first of all for you own security don’t use MySQL like that. PHP has PDO that provide a lot of usability’s and security. One the other hand if you insist using mysql_query than just use mysql_real_escape_string in the field
http://php.net/manual/en/function.mysql-real-escape-string.php .
I am starting with that because as your script is anyone can easily blow up your database or even your server.
So lets say the
$_GET['pullname']
is
$pullname = mysql_real_escape_string($_GET['pullname'])
and your statement as described is
SELECT plantsdb.name, plantsdb.type, size, yard, heelin, nheel, field, total FROM plantsdb LEFT JOIN findplantsdb ON plantsdb.name=findplantsdb.Name
. As you can see there isn’t WHERE clause in that statement so it brings all results …. Just add
WHERE plantsdb.name = $pullname
*Really take a look at PDO it make take you one or two days to master it but will make your life a lot easier.