Article View: be.comp.programming
Article #5290Re: MYSQL: insert into voegt 2 records toe ipv. 1... please help!
From: KLinZ
Date: Fri, 09 May 2003 19:05
Date: Fri, 09 May 2003 19:05
17 lines
1692 bytes
1692 bytes
Kevin wrote:
> Wat kan hier nu toch fout lopen, ik zit al gans de dag te zoeken,
> maar vind geen oplossing:
>
> ---
> $sql_vacatures = "INSERT INTO vacatures (naam_voornaam) VALUES
> ('$naam')"; mysql_query($sql_vacatures);
> mysql_close();
>
> header("Location: index.php?pagina=vacatures");
> exit;
Wat staat er nog meer in de code die index.php?pagina=vacatures afhandelt?
Misschien wordt deze code twee keer aangeroepen door de redirect?
--
www.zenobits.com
Technical Details
Message-ID:
<n_Sua.5829$KF1.90723@amstwist00>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!news2.euro.net!amsnews01.chello.com!amstwist00.POSTED!not-for-mailReferences:
<2fRua.81279$t_2.7645@afrodite.telenet-ops.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,6f7f91319c2e0629 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-05-09 12:06:10 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!news2.euro.net!amsnews01.chello.com!amstwist00.POSTED!not-for-mail From: "KLinZ" <klinz@NOSPAMMERTSzenobits.com> Newsgroups: be.comp.programming References: <2fRua.81279$t_2.7645@afrodite.telenet-ops.be> Subject: Re: MYSQL: insert into voegt 2 records toe ipv. 1... please help! Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <n_Sua.5829$KF1.90723@amstwist00> Date: Fri, 9 May 2003 21:05:11 +0200 NNTP-Posting-Host: 212.187.71.152 X-Complaints-To: abuse@chello.nl X-Trace: amstwist00 1052507155 212.187.71.152 (Fri, 09 May 2003 21:05:55 MET DST) NNTP-Posting-Date: Fri, 09 May 2003 21:05:55 MET DST