PHP Help.

Discussion in 'PHP' started by Matt2k6, Dec 12, 2006.

  1. #1
    Hello, i am a real newbie to PHP. I want to be able to make Staff Panels for websites etc but really dont have a clue where to start. Could you guide me to good guides or help me out?

    Thankyou

    Matt
     
    Matt2k6, Dec 12, 2006 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Most of the panels are just a pretty front-end for the database of the site which stores all the content and settings. But it can be file based as well. I don't think that there are any specific guides for this sort of thing though. So your best bet would be to learn basic php/mysql interaction and then some file manipulation if the sites use file based storage.
     
    crazybjörn, Dec 12, 2006 IP
  3. Matt2k6

    Matt2k6 Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, i would also like basic tutorials to build up my PHP knowledge.

    Thanks

    Matt
     
    Matt2k6, Dec 12, 2006 IP
  4. chopsticks

    chopsticks Active Member

    Messages:
    565
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #4
    chopsticks, Dec 12, 2006 IP
  5. j4s0n

    j4s0n Guest

    Messages:
    295
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I definitely agree w/ this :)
     
    j4s0n, Dec 12, 2006 IP
  6. Matt2k6

    Matt2k6 Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks alot, i have learned forms upto now. If i had this as the code:

    Name: <?php echo $_POST["name"]?>
    Last Name: Name: <?php echo $_POST["lastname"]?>

    How would i get so if more than one person sent in this information it would display one after the other below the one above.

    Thanks alot.

    Matt
     
    Matt2k6, Dec 12, 2006 IP
  7. ketan9

    ketan9 Active Member

    Messages:
    548
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #7
    You have to have a loop either while or for, its your choice. The data $_POST['*'] comes from your HTML form, so depending on how many elements you have in that form, you have to update your php code based on this. For eg. if you had textbox1, textbox2....textboxn

    Your code could be like
    I hope this gives you basic idea and I answered your question or I am totally off the hook here!! :)
     
    ketan9, Dec 12, 2006 IP