pmf.php
The main page that creates a new phpmysqlform (pmf) class
<?
if (isset($_REQUEST['destroy']))
{
foreach ($_COOKIE as $name =>
$value) setcookie($name,
'');
session_unset() ;
session_destroy() ;
}
session_start() ;
?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns=
"http://www.w3.org/1999/xhtml" xml:lang=
"en" lang=
"en">
<head>
<meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
<title>serv</title>
<script language=
"javascript" type=
"text/javascript"
src=
"/includes/tiny_mce/tiny_mce.js">
</script>
<script language=
"javascript" type=
"text/javascript"
src=
"tinymceinit.php">
</script>
</head>
<body>
<?
include 'inc.connect.php' ;
include 'inc.pmf.php' ;
include 'cls.pmf.php' ;
$db =
mysql_connect( MYSQLHOST, MYSQLUSER, MYSQLPASS
) ;
$rc =
mysql_query( 'use ' . MYSQLDATABASE
) ;
$pmf =
new phpmysqlform
( array('translation_os') );
?>
<form method=
"get" action=
"<?= $pmf->formactiontables() ?>" >
<?=
$pmf->
formfieldstables() ?>
</form>
<form method=
"post" action=
"<?= $pmf->formactionkeys() ?>" >
<?=
$pmf->
formfieldskeys() ?>
</form>
<form method=
"post" action=
"<?= $pmf->formactiondata() ?>" >
<?=
$pmf->
formfieldsdata() ?>
</form>
<form method=
"post" action=
"<?= $pmf->formactiondestroy() ?>" >
<?=
$pmf->
formfieldsdestroy() ?>
</form>
</body>
</html>
REFERRERS
PhpMySqlUnicode
There are no comments on this page. [Add comment]