Re: Code check please
| From: | Andreas Skarin | Date: | Wed, 20 Jun 2001 22:45:48 +0000 |
| Subject: | Re: Code check please | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54636@lists.php.net to get a copy of this message | ||
I'm sorry guys, neither of the snippets work. I must have screwed something else up
too. Is there any way I can provoke an error message from your code examples below?
If anyone manages to find out what's wrong, please tell me. I'm not giving up until
I smash this bug :-)
// Andreas
> Rich Cavanaugh wrote:
>
> > try:
> >
> > $sql = "INSERT INTO tabell (fornamn, efternamn, email) values
> > ('{$fornamn}',
> > '{$efternamn}', '{$email}')";
>
> Sebastian Wenleder wrote:
>
> > I'd use this SQL-query:
> >
> > $sql = "INSERT INTO tabell \
> > (fornamn,efternamn,email) \
> > VALUES(".$fornamn.", \
> > ".$efternamn.", ".$email.")";
--
Andreas Skarin
Svenska Dream Theater-Sällskapet
http://www.sdts.nu - mailto:sdts@sdts.nu