vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Tutorial : Basics of PHP (https://vborg.vbsupport.ru/showthread.php?t=59260)

MindTrix 12-27-2003 09:55 AM

No problem :)

Exero 01-03-2004 12:21 AM

PHP Code:

<?php
if($action == "") {
// Main page coding here
echo("Welcome");
}
elseif(
$action == "news") {
// News coding here
echo("News");
}
elseif(
$action == "about") {
// About coding here
echo("About");
}
elseif(
$action == "search") {
// Search coding here
echo("Search");
}
?>


MindTrix 01-03-2004 12:24 AM

Why did you post that?

TouchingVirus 01-03-2004 11:39 AM

my thoughts exactly!

MindTrix, great tutorial, it was simple yet effective and should help any beginner in php. Hopefully you shall begin to understand php more and write more tutorials for the vbulletin community :)

MindTrix 01-03-2004 11:48 AM

Thanks for the comments :)

I might think about writting another one about if and else if and all that kind of thing.

TouchingVirus 01-03-2004 12:10 PM

LOL, it will be the one i was hoping you would write...i could do with a few pointers ;)

MindTrix 01-03-2004 12:12 PM

Lol ok well ill see if i can get started on it today sometime.

TouchingVirus 01-03-2004 12:16 PM

Now thats service - and i didnt even have to pay, thanks :)

MindTrix 01-03-2004 12:57 PM

Ok ok i just sat on my RC1 i installed on my server and wrote a guide, so far i think i have been writting for over 40 minutes so i had wrote loads, I click preview post and vB3 had done that stupid time out thing where it decided i was not doing anything for a while so it logged me out :@ Of course i had to log back in and it deleted everything i wrote, so go figure i am now majorly annoyed, and wont write it again either until late tonight when im bored, or tomorrow. Sorry but im maddddddddd!!!!

TouchingVirus 01-03-2004 05:12 PM

URGH! DAmn j00 vbulletin!!!

Im sure it would have made for good reading, get un-mad or really bored..and start writing :)


All times are GMT. The time now is 04:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01304 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete