The SUBMIT is <input type="image" src="button.bmp"/>
Right now I am focusing on getting the text into the database. There
are two issues getting in the way of that right now.
1-When I hit submit, when I have entered text into all of the
fields, it still gives me an error message about not having anything
in name, adline1 and adline2. This means that for some reason the
information isnt going from the HTML form to the cleansend.php page.
2-PHP wont write to MySQL databases anyway. I tried the bellow code
alone in a browser & it failed to write anything to the database.
How do I configure PHP to work with MySQL?
<?php
$link= mysql_connect ('localhost','root','google');
mysql_select_db("PigeonPost");
$insert2="INSERT INTO main
(time, adline1, adline2, city, zip)
VALUES ('55','bob', '123','fake st','anytown','02144','Hi
Mom!!' )";
mysql_close($link);
php?>
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/