balaji2u
New Member
- Messages
- 410
- Reaction score
- 2
- Points
- 0
im trying to working on a template based document building script.i think this code will help me to get a input from the user such that he dont need to type the full document just the name,places of his choice must be selected and our script will generate the final document with his needed text in the placeholder like {name} {place} etc.
the code is here.pls tell me for what this code exactly for? and of these two codes which will best suit my need?
second code is
thanks.
the code is here.pls tell me for what this code exactly for? and of these two codes which will best suit my need?
PHP:
$Sdocbuild->db_Query( "INSERT INTO `$tem_table` (`Template`) VALUES ('".$_POST['New_Template']."')" );
second code is
PHP:
$SkaLinks->db_Query( "UPDATE `$tem_table` SET `Template`='".$_POST['Letter_tem'][$value]."' WHERE `ID`='".$value."'" );