| View previous topic :: View next topic |
| Author |
Message |
badboy
Joined: 30 Jan 2005 Posts: 2
|
Posted: Sun Jan 30, 2005 10:52 pm Post subject: help please |
|
|
i have a gameing site and i want to add html in where they post there rules i cant find how to do this
| Code: |
$x->add_textarea('notes',0,1,0,'tournament rules/notes',array(),10,1); //me
if(!ALP_TOURNAMENT_MODE || ALP_TOURNAMENT_MODE_COMPUTER_GAMES){
$x->add_textarea('settings',0,1,0,'server settings',array(),10,1);
}
if (empty($_POST) && $x->is_secure()) {
$x->display_top();
$x->display_form();
$x->display_bottom();
} elseif (!empty($_POST) && $x->is_secure()) {
$x->display_results();
} else {
$x->display_slim('you are not authorized to view this page.');
} ?>
|
there is the script can someone help me ty badboy |
|
| Back to top |
|
 |
arslan220
Joined: 17 Jun 2008 Posts: 32
|
Posted: Fri Jul 10, 2009 9:50 am Post subject: |
|
|
| thanks for this. |
|
| Back to top |
|
 |
JanJozef
Joined: 15 Jan 2010 Posts: 1
|
Posted: Fri Jan 15, 2010 12:52 pm Post subject: |
|
|
| If you want to coding in html then you need to go on WWW.W3SChools.com. All coding tabs about html available there. |
|
| Back to top |
|
 |
scigars
Joined: 23 Jan 2010 Posts: 3
|
Posted: Sat Jan 23, 2010 11:09 pm Post subject: |
|
|
| tell me what is you error? that code is valid |
|
| Back to top |
|
 |
45capper
Joined: 28 Jan 2010 Posts: 3
|
Posted: Thu Jan 28, 2010 1:46 am Post subject: |
|
|
| The code looks valid to me too. |
|
| Back to top |
|
 |
eastpark786
Joined: 19 Feb 2010 Posts: 25
|
Posted: Fri Feb 19, 2010 1:23 am Post subject: |
|
|
| I am also getting issue in it with me i am also working on it i also need help from anyone give me. |
|
| Back to top |
|
 |
lostboy

Joined: 02 May 2004 Posts: 6033 Location: toronto, canada
|
Posted: Sat Feb 20, 2010 5:44 am Post subject: |
|
|
There are a lot of nonsensical replies in this post. But in any case, I think you might be able to try something like this: inserting one of the formats that is shown n our sample
| Code: |
if (empty($_POST) && $x->is_secure()) {
$x->display_top();
//this might fit what you need if you do this
$x->display_slim('<h3>Some of your content here</h3>');
$x->display_form();
$x->display_bottom();
} elseif (!empty($_POST) && $x->is_secure()) {
$x->display_results();
} else {
$x->display_slim('you are not authorized to view this page.');
} ?>
|
|
|
| Back to top |
|
 |
|