PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



help please

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> HTML
View previous topic :: View next topic  
Author Message
badboy



Joined: 30 Jan 2005
Posts: 2

PostPosted: Sun Jan 30, 2005 10:52 pm    Post subject: help please Reply with quote

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
View user's profile Send private message Yahoo Messenger
arslan220



Joined: 17 Jun 2008
Posts: 32

PostPosted: Fri Jul 10, 2009 9:50 am    Post subject: Reply with quote

thanks for this.
Back to top
View user's profile Send private message
JanJozef



Joined: 15 Jan 2010
Posts: 1

PostPosted: Fri Jan 15, 2010 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
scigars



Joined: 23 Jan 2010
Posts: 3

PostPosted: Sat Jan 23, 2010 11:09 pm    Post subject: Reply with quote

tell me what is you error? that code is valid
Back to top
View user's profile Send private message
45capper



Joined: 28 Jan 2010
Posts: 3

PostPosted: Thu Jan 28, 2010 1:46 am    Post subject: Reply with quote

The code looks valid to me too.
Back to top
View user's profile Send private message
eastpark786



Joined: 19 Feb 2010
Posts: 25

PostPosted: Fri Feb 19, 2010 1:23 am    Post subject: Reply with quote

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
View user's profile Send private message
lostboy



Joined: 02 May 2004
Posts: 6033
Location: toronto, canada

PostPosted: Sat Feb 20, 2010 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



PHP Code Examples
 Stream diffrent sizes of images from a single image to save disk space.
 JavaScript dropdown list menu to switch any page.
 Dump the contents of a PHP variable in html format with a recursive list of subfolders and files from a given root directory.
 PHP Dump in html format the contents of one array variable with a recursive list of the nested array variables inside.
 Link Extractor - This function is used to extract links from a given URL. This will convert relative path into absolute path and also remove PHPSESSID stuff.
 Building a Dynamic Form using Javascript and innerHTML. Add form elements in realtime without refreshing the page.
 A PHP Calendar function with CSS : add a cool calendar to any php page by just adding a calendar class based function.
Post new topic   Reply to topic    WeberForums.com Forum Index -> HTML All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum