Re: Newbie
| From: | Derick Rethans | Date: | Tue, 14 Jan 2003 16:12:37 +0000 |
| Subject: | Re: Newbie | ||
| References: | 1 | Groups: | php.lang |
| Request: | Send a blank email to php-lang+get-438@lists.php.net to get a copy of this message | ||
Hello,
please forward user questions to the php-general@lists.php.net
mailinglist, this list is for development _OF_ PHP, not development
_with_ PHP.
Derick
On Tue, 14 Jan 2003, Brent Lee wrote:
> Hello all I think we will be see allot of each other! I'm very new to PHP
> ( and programming in general!)
> Here is my error
> Parse error: parse error in /home/xxxxxxx/public_html/Info/datain.php on
> line 7
>
> and the code causing it.
>
> <HTML>
> <?php
> $db = mysql_connect("localhost", "xxxxxxx","xxxxxxxxx");
> mysql_select_db("learndb",$db);
> $sql = "INSERT INTO personnel (firstname, lastname, nick, email, salary)
> VALUES ('$first','$last','$nickname',)
> $result = mysql_query'($sql);
> echo "Thank you! Information entered.\n";
> ?>
> </HTML>
>
> it is pretty simple i'm sure but as I said I'm new (within the month.)
>
>
> --
>
> Thanks in advance
> ______________________________
> Brent Lee
>
>
>
> --
> PHP Language Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------