[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Problemen met contactformulier
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Problemen met contactformulier

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

Problemen met contactformulier

Berichtdoor nerd111 » 20 okt 2008 19:56

Beste allemaal,

Ik heb nu een contactformulier. Deze werkt in principe uitstekend, maar er zijn twee problemen:

1. als je van een 'normale pagina' naar de contactpagina gaat, verspringt de
pagina een beetje naar links. Waaraan kan dit liggen? Ik heb alles qua css en opmaak gecheckt en dat is het niet...

2. als je het formulier verzendt, krijg je een blanco pagina met daarop tekst. Ik wil nu echter een pagina in mijn lay-out. Bij echo staat het volgende:

echo "
<p>
Uw bericht is succesvol verzonden, er word zo snel mogelijk gereageerd.<br />
<br />
Met vriendelijke groeten,<br />
".$cfg['naam']."
</p>";

Kan iemand mij helpen met deze twee vragen?

Mvg,

Jasper Nip
Met vriendelijke groeten,
Jasper
nerd111
wmpr
 
Berichten: 70
Geregistreerd: 11 okt 2008 20:00

Re: Problemen met contactformulier

Berichtdoor Remi » 20 okt 2008 19:58

Zonder script en voorbeeld gaan we niet veel verder komen.
Dus als jou die even zou willen posten, graag. ;)
Avatar gebruiker
Remi
wmpr
 
Berichten: 3010
Geregistreerd: 04 apr 2006 15:22

Re: Problemen met contactformulier

Berichtdoor nerd111 » 20 okt 2008 20:01

Tuurlijk:

Voorbeeldpagina normaal:

Contactformulier:

Er staat nu echter nog een fout op, maar ik weet hoe ik die moet verbeteren dus daar ben ik nu even mee bezig.
Met vriendelijke groeten,
Jasper
nerd111
wmpr
 
Berichten: 70
Geregistreerd: 11 okt 2008 20:00

Re: Problemen met contactformulier

Berichtdoor libia » 20 okt 2008 20:48

bij mij verspringt hij niet naar links hoor! ;) (FF)
ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: Problemen met contactformulier

Berichtdoor Derk » 20 okt 2008 22:59

Laatst bijgewerkt door Derk op 21 okt 2008 16:45, in totaal 1 keer bewerkt.
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: Problemen met contactformulier

Berichtdoor nerd111 » 21 okt 2008 16:10

Bedankt voor jullie reacties. Ik heb de JavaScript code geprobeerd, maar dan krijg ik SYNTAX ERROR.
Wel heb ik de <p> tags weggehaald. In mijn editor zie ik dat het hele gedeelte eronder als ik de javascript invoer helemaal 1 kleur krijgt; alsof een tag niet wordt afgesloten.

Wat doe ik verkeerd?

Mvg,

jasper
Met vriendelijke groeten,
Jasper
nerd111
wmpr
 
Berichten: 70
Geregistreerd: 11 okt 2008 20:00

Re: Problemen met contactformulier

Berichtdoor Remi » 21 okt 2008 16:17

Avatar gebruiker
Remi
wmpr
 
Berichten: 3010
Geregistreerd: 04 apr 2006 15:22

Re: Problemen met contactformulier

Berichtdoor nerd111 » 21 okt 2008 16:31

Verklaar u nader aub....
Met vriendelijke groeten,
Jasper
nerd111
wmpr
 
Berichten: 70
Geregistreerd: 11 okt 2008 20:00

Re: Problemen met contactformulier

Berichtdoor Derk » 21 okt 2008 16:50

Hmm ik had die error niet verwacht.

Weet je zeker dat je het kommatje (') niet weg hebt gehaald?
En heb je het stukje code wel binnen de <?PHP en de ?> geplaatst? (waar die andere ook stond)
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: Problemen met contactformulier

Berichtdoor nerd111 » 21 okt 2008 16:59

Gelukt! Dank jullie wel! Er was idd iets mis met de (')'s!

Nogmaals bedankt,

Mvg,

Jasper Nip
Met vriendelijke groeten,
Jasper
nerd111
wmpr
 
Berichten: 70
Geregistreerd: 11 okt 2008 20:00

Re: Problemen met contactformulier

Berichtdoor ElbertF » 22 okt 2008 13:49

Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09


Keer terug naar PHP, ASP, SQL



cron