php noobie

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • roohbir

    #1

    php noobie

    Hi,
    I am completely new to PHP but I have to do a site which uses a little
    bit of this language.
    I just have to program an HTML form (small one, just 3 text fields and
    a submit button) with PHP and mySQL. The application is supposed to
    accept data entered by a user and store it in mySQL. And of course I
    should be able to access the stored data.
    Is there any sample code out there which is similar and I can study the
    code and modify it? Maybe some book etc.
    Thanks in advance.
    Roohbir

  • Dave Kelly

    #2
    Re: php noobie

    roohbir wrote:
    Hi,
    I am completely new to PHP but I have to do a site which uses a little
    bit of this language.
    I just have to program an HTML form (small one, just 3 text fields and
    a submit button) with PHP and mySQL. The application is supposed to
    accept data entered by a user and store it in mySQL. And of course I
    should be able to access the stored data.
    Is there any sample code out there which is similar and I can study the
    code and modify it? Maybe some book etc.
    Thanks in advance.
    Roohbir
    >
    This sounds strangely like a home work assignment.

    I would google for the code of a guest book.

    Comment

    • Johnny

      #3
      Re: php noobie


      "Dave Kelly" <daveekelly@ear thlink.netwrote in message
      news:gPAWg.5097 $Lv3.3933@newsr ead1.news.pas.e arthlink.net...
      roohbir wrote:
      Hi,
      I am completely new to PHP but I have to do a site which uses a little
      bit of this language.
      I just have to program an HTML form (small one, just 3 text fields and
      a submit button) with PHP and mySQL. The application is supposed to
      accept data entered by a user and store it in mySQL. And of course I
      should be able to access the stored data.
      Is there any sample code out there which is similar and I can study the
      code and modify it? Maybe some book etc.
      Thanks in advance.
      Roohbir
      >
      This sounds strangely like a home work assignment.
      >
      I would google for the code of a guest book.
      and in particular google code

      where you can say lang:php with your search keys
      fer instance search for
      guest book lang:php
      should get about 1000 hits...


      Comment

      • Peter Fox

        #4
        Re: php noobie

        Following on from roohbir's message. . .
        >Hi,
        >I am completely new to PHP but I have to do a site which uses a little
        >bit of this language.
        >I just have to program an HTML form (small one, just 3 text fields and
        >a submit button) with PHP and mySQL. The application is supposed to
        >accept data entered by a user and store it in mySQL. And of course I
        >should be able to access the stored data.
        >Is there any sample code out there which is similar and I can study the
        >code and modify it? Maybe some book etc.
        >Thanks in advance.
        >Roohbir
        >
        Good news! : There's plenty of code on the 'net.
        Good news! : There's plenty of manuals and How Tos on the 'net
        Good news! : mySQL is not really difficult to set up
        Bad news! : A bit of code off the shelf may not be secure against XSS
        and SQL injection. (Matters which you MUST address.)

        --
        PETER FOX Not the same since the statuette business went bust
        peterfox@eminen t.demon.co.uk.n ot.this.bit.no. html
        2 Tees Close, Witham, Essex.
        Gravity beer in Essex <http://www.eminent.dem on.co.uk>

        Comment

        Working...