Created
April 30, 2016 12:02
-
-
Save Moc/ca16e20514db06619d5bda5e34702dec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once("class2.php"); | |
require_once(HEADERF); | |
$sql = e107::getDb(); | |
$ns = e107::getRender(); | |
$frm = e107::getForm(); | |
$text = ''; | |
if(isset($_POST['CatToDB'])) | |
{ | |
$ns->tablerender(LAN_PLUGIN_KK_VIDEO_01, 'form submitted'); | |
} | |
else | |
{ | |
$text .= $frm->open('CatToDB', 'post', e_REQUEST_URI, array('autocomplete' => 'on', 'class' => 'formclass')); | |
$text .= $frm->text('category', '', 50, array('size' => 'large')); | |
$text .= $frm->button('CatToDB', LAN_PLUGIN_KK_VIDEO_05); | |
$text .= $frm->close(); | |
$ns->tablerender(LAN_PLUGIN_KK_VIDEO_02, $text); | |
} | |
require_once(FOOTERF); | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kindly help with form design that can be linked to Database