if,then,else statements in html----HURRY!!!!

Discussion in 'Web Programming' started by ronny.m.p, May 24, 2007.

if,then,else statements in html----HURRY!!!!
  1. Unread #1 - May 24, 2007 at 5:28 PM
  2. ronny.m.p
    Joined:
    Jan 21, 2007
    Posts:
    111
    Referrals:
    0
    Sythe Gold:
    0

    ronny.m.p Active Member

    if,then,else statements in html----HURRY!!!!

    I need to know if there are any sort of staements like if and then in html. In pascal it would be like this:


    Code:
    begin
    if VariableHere = TheValue then
    ...other code here
    So it will check if a variable has a certain value. Basicly what i want it for is a Password and Username page. So if you enter the correct password then it will go to the next page. If you give me code please put comments in your post because im new at this. Also i'm going to make a serach area that will search for something. Basicly if you enter a value it will go to the corsponding page. But only if the value is registered in an array of some sort. I'm just spit balling but help is ++++++++needed. Thanks bunchs.

    -Ronny
     
  3. Unread #2 - May 24, 2007 at 11:20 PM
  4. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    if,then,else statements in html----HURRY!!!!

    Can't do this in strictly html.

    You need to combine this with a scripting language like javascript or php.
     
  5. Unread #3 - May 25, 2007 at 11:49 AM
  6. MellowYellow
    Referrals:
    0

    MellowYellow Guest

    if,then,else statements in html----HURRY!!!!

  7. Unread #4 - Jun 3, 2007 at 11:08 AM
  8. the scar noob
    Joined:
    Jan 21, 2007
    Posts:
    620
    Referrals:
    0
    Sythe Gold:
    0

    the scar noob Forum Addict

    if,then,else statements in html----HURRY!!!!

    That's true, also use another language to make a website or so, PHP or so should be better ;)
     
  9. Unread #5 - Jun 3, 2007 at 1:16 PM
  10. LeetScape
    Joined:
    May 27, 2007
    Posts:
    126
    Referrals:
    0
    Sythe Gold:
    1

    LeetScape Active Member

    if,then,else statements in html----HURRY!!!!

    VBScript is what you're looking for, Google has your answer :)
     
< Help with Dreamweaver/HTML/java script please. | [Help] PHP grapping runescape news >

Users viewing this thread
1 guest


 
 
Adblock breaks this site