Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'MYUWNETID'@'webster.cs.washington.edu' (using password: YES)
mysql_connect
, use the server name "localhost"
, not "webster.cs.washington.edu".
If your query works in the console but not in PHP, try to print() the query before you run it. Then copy/paste the printed text into the console and try to run it there. Often you'll discover you are missing quotes or a semicolon or some other small syntax problem.
Display all 794 possibilities? (y or n)
and doesn't run the query.
click
event on a button; you should not do so. Listen to the submit
event on the form itself, and stop that event.
actorid.php
isn't submitting to the right place! Why not?
action
attribute and the URL you want the Ajax to submit to.
submit()
on it, nothing happens. Why not?
submit
inside their form. This causes a conflict with the form's submit
function. Choose another id for your button.
common.php
. See the HW4 provided skeleton code as an example.
</body>
and so on.
.submit()
method that you can call.