$pdocrud = new PDOCrud();
$pdocrud->formStaticFields("personalinfo", "html", "");
$pdocrud->formStaticFields("personalinfo1", "html", "
");
$pdocrud->fieldDisplayOrder(array("personalinfo", "personalinfo1"));
$pdocrud->formFields(array("personalinfo", "personalinfo1", "cruise_destination", "cruise_length", "departure_month", "day", "cruise_departure_port", "cruise_line", "where_do_you_live"));
$pdocrud->fieldAttributes("cruise_destination", array("placeholder" => "Cruise Destination")); //add placeholder attribute
$pdocrud->fieldAttributes("cruise_length", array("placeholder" => "Cruise Length")); //add placeholder attribute
$pdocrud->fieldAttributes("departure_month", array("placeholder" => "Departure Month")); //add placeholder attribute
$pdocrud->fieldAttributes("day", array("placeholder" => "No. Of Days")); //add placeholder attribute
$pdocrud->fieldAttributes("cruise_departure_port", array("placeholder" => "Cruise Departure Port")); //add placeholder attribute
$pdocrud->fieldAttributes("cruise_line", array("placeholder" => "Cruise Line")); //add placeholder attribute
$pdocrud->fieldAttributes("where_do_you_live", array("placeholder" => "where do you live?")); //add placeholder attribute
$pdocrud->fieldHideLable("cruise_destination"); // Hide label
$pdocrud->fieldHideLable("cruise_length"); // Hide label
$pdocrud->fieldHideLable("departure_month"); // Hide label
$pdocrud->fieldHideLable("day"); // Hide label
$pdocrud->fieldHideLable("cruise_departure_port"); // Hide label
$pdocrud->fieldHideLable("cruise_line"); // Hide label
$pdocrud->fieldHideLable("where_do_you_live"); // Hide label
$pdocrud->buttonHide("cancel"); // Hide button
$pdocrud->setLangData("save", "SUBMIT");
$pdocrud->enqueueCss("font-awesome.min", "../assets/css/font-awesome/css/font-awesome.min.css");
$pdocrud->enqueueCss("form-elements", "../assets/css/form-elements.css");
$pdocrud->enqueueCss("signup", "../assets/css/signup-form.css");
$pdocrud->enqueueCss("style", "../assets/css/style.css");
echo $pdocrud->dbTable("cruises_booking")->render("insertform");