|
<?
$books = $_REQUEST['books']; $type = $_REQUEST['type']; include'connect.php';
mysql_connect("$host","$username","$pass"); mysql_select_db("$DB_Name");
if ($books != NULL && $type != NULL) { $sql = "INSERT INTO myvote (vote, type) "; $sql.= "VALUES ('{$books}', '{$type}')"; mysql_query ($sql); mysql_close(); }
mysql_close();
?>
Being that we are on the subject of PHP and that is what I am coding today I was wondering what people in this list use for processing forms within PHP? I have been searching for a form creator that operates similar to CGIDEV2 where you can have a template and just fill in the holes from your code.
I have tried a couple different ones out there including Phorm, etc, but have found layout limitations among other things.
Aaron Bartell
_______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.