Entering data into MySQl database
Why does this simple script not work?
$test = "Earth";
$query = "INSERT INTO planet ( powers, location ) values( 'laser',
mysql_query( $query, $link );
When I run the above script, 'laser' is entered into MySQL database but not
The 'location' field has correct attributes because if I replace $test with
'Earth' then it is entered into my database.