[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 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 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 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/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 - Adresboek Script check
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

Adresboek Script check

In `Show Us` mag je jouw nieuwe logo, ontwerp of website tonen. Mits je tegen de kritiek kan van onze leden.
Forumregels

Re: Adresboek Script check

Berichtdoor Moonstrike » 20 jul 2006 14:26

Zou dit niet werken ? , Maar dan moet je nog wel backslashen natuurlijk
[code="php"] $output =
echo '<tr>';
echo '<td>&nbsp;' .$row['aanhef']. '</td>';
echo '<td>&nbsp;' .$row['achternaam']. '</td>';
echo '<td>&nbsp;' .$row['voornaam']. '</td>';
echo '<td>&nbsp;' .$row['straat']. '</td>';
echo '<td>&nbsp;' .$row['huisnummer']. '</td>';
echo '<td>&nbsp;' .$row['postcode']. '</td>';
echo '<td>&nbsp;' .$row['plaatsnaam']. '</td>';
echo '<td>&nbsp;' .$row['telefoon']. '</td>';
echo '<td>&nbsp;' .$row['mobiel']. '</td>';
echo '<td>&nbsp;' .$row['email']. '</td>';
echo '<td>&nbsp;' .$row['geboortedatum']. '</td>';
echo '</tr>'; ;
[/code]
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Adresboek Script check

Berichtdoor Weeeyaa » 20 jul 2006 14:28

je hoort de inhoud van output toch tussen quotes te zetten, niet?
Avatar gebruiker
Weeeyaa
wmpr
 
Berichten: 2796
Geregistreerd: 10 jul 2004 07:39

Re: Adresboek Script check

Berichtdoor Moonstrike » 20 jul 2006 14:33

Ja klopt , was ik vergeten Embarassed
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Adresboek Script check

Berichtdoor KillerSponge » 20 jul 2006 14:38

Is t sowieso niet een beetje nutteloos om voor elk regeltje echo te gebruiken? :s

Zo:

[code="php"]$output .= '<tr>
<td>&nbsp;' .$row['aanhef']. '</td>
<td>&nbsp;' .$row['achternaam']. '</td>
<td>&nbsp;' .$row['voornaam']. '</td>
<td>&nbsp;' .$row['straat']. '</td>
<td>&nbsp;' .$row['huisnummer']. '</td>
<td>&nbsp;' .$row['postcode']. '</td>
<td>&nbsp;' .$row['plaatsnaam']. '</td>
<td>&nbsp;' .$row['telefoon']. '</td>
<td>&nbsp;' .$row['mobiel']. '</td>
<td>&nbsp;' .$row['email']. '</td>
<td>&nbsp;' .$row['geboortedatum']. '</td>
</tr>';[/code]

Smile
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: Adresboek Script check

Berichtdoor Derk » 20 jul 2006 14:53

dat van killer is lelijk met de tabjes Wink
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: Adresboek Script check

Berichtdoor julien » 20 jul 2006 15:09

Avatar gebruiker
julien
wmpr
 
Berichten: 2195
Geregistreerd: 28 nov 2003 16:21
Woonplaats: Kortrijk

Re: Adresboek Script check

Berichtdoor KillerSponge » 20 jul 2006 15:14

Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: Adresboek Script check

Berichtdoor Weeeyaa » 20 jul 2006 17:42

en als ik heb:

[code="php"] $output .= 'if($gegevens->aanhef == "Dhr.")
{
<option selected="selected">Dhr.</option>
<option>Mvr.</option>
<option>Familie</option>
</select></td>
}

elseif($gegevens->aanhef == "Mvr.")
{
<option>Dhr.</option>
<option selected="selected">Mvr.</option>
<option>Familie</option>
</select></td>
}

elseif($gegevens->aanhef == "Familie")
{
<option>Dhr.</option>
<option>Mvr.</option>
<option selected="selected">Familie.</option>
</select></td>
}';
[/code]

dat is een deel van een formuliertje, dat kijkt welke aanhef is geselecteerd.
ik heb het output gedeelte dan om dat hele formulier heen staan en niet alleen om dit stukje, maar dit werkt niet Smile

wat doe ik fout?

bedankt,

Thijs
Avatar gebruiker
Weeeyaa
wmpr
 
Berichten: 2796
Geregistreerd: 10 jul 2004 07:39

Re: Adresboek Script check

Berichtdoor KillerSponge » 20 jul 2006 21:30

Je zet php code in een variabele, en dat werkt natuurlijk niet... Je moet alleen alles wat je eigenlijk zou echo'en in de variabele stoppen.
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: Adresboek Script check

Berichtdoor Moonstrike » 21 jul 2006 08:35

Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Adresboek Script check

Berichtdoor KillerSponge » 21 jul 2006 09:14

Kan, maar dat is niet bepaald relevant/nuttig hier :s
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: Adresboek Script check

Berichtdoor Moonstrike » 21 jul 2006 09:17

Nee maar in een varible proppen ook niet .
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Adresboek Script check

Berichtdoor Weeeyaa » 21 jul 2006 09:25

dus alleen select en option?
Avatar gebruiker
Weeeyaa
wmpr
 
Berichten: 2796
Geregistreerd: 10 jul 2004 07:39

Re: Adresboek Script check

Berichtdoor KillerSponge » 21 jul 2006 09:41

Ja.

@Moonstrike: Jawel, want dan kan een plugin hem bewerken... Daar hadden we het al de hele tijd over Razz
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: Adresboek Script check

Berichtdoor Moonstrike » 21 jul 2006 09:46

O ja ...
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Adresboek Script check

Berichtdoor Weeeyaa » 21 jul 2006 10:14

Sorry killer als je denkt dat jij nu de gene bent die mijn adresboek aan het schrijven is, maar hoe moet ik het volgende doen Embarassed omdat de value een variable is...

[code="php"]
<tr>
<td>Achternaam</td><td><input type="text" name="achternaam" value="<?php echo
$gegevens->achternaam; ?>"></td>
</tr>
[/code]

Thijs
Avatar gebruiker
Weeeyaa
wmpr
 
Berichten: 2796
Geregistreerd: 10 jul 2004 07:39

Re: Adresboek Script check

Berichtdoor Moonstrike » 21 jul 2006 10:43

Je was haakjes vergeten bij echo dus volgen mij moet het zo zijn :
[code="php"]
<tr>
<td>Achternaam</td><td><input type="text" name="achternaam" value="<?php echo
'$gegevens->achternaam'; ?>"></td>
</tr>
[/code]

Greets , Moonstrike
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Adresboek Script check

Berichtdoor Weeeyaa » 21 jul 2006 11:05

Avatar gebruiker
Weeeyaa
wmpr
 
Berichten: 2796
Geregistreerd: 10 jul 2004 07:39

Re: Adresboek Script check

Berichtdoor Moonstrike » 21 jul 2006 11:11

Ik moet toch is aan mijn php skulls werken Embarassed Razz
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Adresboek Script check

Berichtdoor KillerSponge » 21 jul 2006 12:08

[code="php"]$content .= '<tr>
<td>Achternaam</td><td><input type="text" name="achternaam" value="'.$gegevens->achternaam.'"></td>
</tr>';[/code]

Gewoon met een punt de verschillende waardes aan elkaar knopen Smile
Blabla en andere onzin - http://killersponge.nl
Avatar gebruiker
KillerSponge
Beheerder
Beheerder
 
Berichten: 14456
Geregistreerd: 24 aug 2004 13:05

Re: Adresboek Script check

Berichtdoor Weeeyaa » 21 jul 2006 13:28

oke Smile bedankt kan ik weer verder Smile
Avatar gebruiker
Weeeyaa
wmpr
 
Berichten: 2796
Geregistreerd: 10 jul 2004 07:39

Vorige

Keer terug naar Show Us



cron