Custom Lightbox form -> Loading data from database

Hi, how can I load the values of my custom lightbox fields from the database?

Below is my html code:

<!doctype html>

html, body{ margin:0px; padding:0px; height:100%; overflow:hidden; }
 
 
 

Below is my php code:

<?php require('config.php'); require('scheduler/scheduler_connector.php'); $calendar=new SchedulerConnector($conn); $calendar->render_table("tblschedule","id","startdate,enddate,event,color,clientname","type"); //---> What should I add here??? <--- ?>

Hi,
you need to add custom fields to the configuration of connector:[code]<?php
require(‘config.php’);
require(‘scheduler/scheduler_connector.php’);

$calendar=new SchedulerConnector($conn);
//third parameter is a list of columns, all data columns must be listed there
$calendar->render_table(“tblschedule”,“id”,“startdate,enddate,event,color,clientname,description,contactnumber,…”,“type”);[/code]