| ||||||
![]() |
|
#1
|
|||
|
|||
|
I got 3 styles in mind:
Code:
<?php $htmlout = ""; ?> Code:
<?php echo ""; ?> Code:
<?php global $TBDEV; ?> <text>hi</text> |
|
#2
|
|||
|
|||
|
echo i would
Html its not bad its just a pain in the ass to make mods for it some times luck as it i know how to code it ... yes would be better echo more you can do with this |
| The Following User Says Thank You to Napon For This Useful Post: | ||
BamBam0077 (19th July 2018)
| ||
|
#3
|
|||
|
|||
|
If your gonna design mods using $htmlout isn't to bad gets annoying so does print echo so sometimes, I use php then wrap it around the html kinda like:
Code:
<?php
$sql = "";
while($raw = mysqli_fetch_assoc($sql)){
?>
<text><?php echo $raw["username"]; ?><text>
<?php } ?>
|
|
#4
|
||||
|
||||
I dont use ether!Code:
$template->assign_vars(array(
'P_QUESTION' => $poll['question'],
'P_OPTIONA' => $poll['option0'],
'P_OPTIONB' => $poll['option1'],
'P_OPTIONC' => $poll['option2'],
'P_OPTIOND' => $poll['option3'],
'P_OPTIONE' => $poll['option4'],
'P_OPTIONF' => $poll['option5'],
'P_OPTIONG' => $poll['option6'],
'P_OPTIONH' => $poll['option7'],
'P_OPTIONI' => $poll['option8'],
'P_SORT' => $poll["sort"] == "no" ? false : true,
'P_SUBMIT' => $user->lang['SUBMIT'],
));
echo $template->fetch('managepolls.html');
close_out();
?>
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
| The Following User Says Thank You to joeroberts For This Useful Post: | ||
BamBam0077 (20th July 2018)
| ||
![]() |
| Tags |
| approach |
|
|