Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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;
@Moc
Copy link
Author

Moc commented Apr 30, 2016

image

@yemiton
Copy link

yemiton commented May 1, 2017

Kindly help with form design that can be linked to Database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment