Some PHP Coding Help...?

hshahhshah BeginnerLink Clerk
I want to make a web page, which allows me to select entries from a drop down box and each one in turn loads a different row from a database (some text and a picture) in a different frame on the same page.

Since I don't have a clue where to start, does anyone know of any tutorials or existing projects that I could modify?

Any help is greatly appreciated!

Comments

  • lozzas1810lozzas1810 Senior Member The Royal RAM
    u culd try goin on www.w3schools.com they might av sum help on there but reli dnt listen to me cos im prob wrong :(
    devspc3.gif
  • PythonPython Forum Leader The Royal RAM
    nah w3wchools would be useless for this sort of thing

    You could use a swicth statement where you would have cases.

    Or just a series of if statements.

    Heres an example:

    [PHP]if(!$variable){
    die("You did not select an option");
    }

    if($variable=="blue"){
    echo "you chose blue";
    }

    if($variable=="yellow"){
    echo "you chose yellow";
    }[/PHP]

    Understand?

    The Royal Ram

  • lozzas1810lozzas1810 Senior Member The Royal RAM
    lol c i told u not to listen to me!
    devspc3.gif
  • hshahhshah Beginner Link Clerk
    But I want to include a lot more information:

    Like:

    {picture of compyter}

    System - Dell
    CPU - 300 Mhz
    RAM - 128 MB
    Service Tag - XXXXX
    Asset Tag - YYYYY
Sign In or Register to comment.