[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
Pagina 3 van 3

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 14:26
door Moonstrike
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]

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 14:28
door Weeeyaa
je hoort de inhoud van output toch tussen quotes te zetten, niet?

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 14:33
door Moonstrike
Ja klopt , was ik vergeten Embarassed

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 14:38
door KillerSponge
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

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 14:53
door Derk
dat van killer is lelijk met de tabjes Wink

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 15:09
door julien

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 15:14
door KillerSponge

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 17:42
door Weeeyaa
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

Re: Adresboek Script check

BerichtGeplaatst: 20 jul 2006 21:30
door KillerSponge
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.

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 08:35
door Moonstrike

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 09:14
door KillerSponge
Kan, maar dat is niet bepaald relevant/nuttig hier :s

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 09:17
door Moonstrike
Nee maar in een varible proppen ook niet .

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 09:25
door Weeeyaa
dus alleen select en option?

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 09:41
door KillerSponge
Ja.

@Moonstrike: Jawel, want dan kan een plugin hem bewerken... Daar hadden we het al de hele tijd over Razz

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 09:46
door Moonstrike
O ja ...

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 10:14
door Weeeyaa
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

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 10:43
door Moonstrike
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

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 11:05
door Weeeyaa

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 11:11
door Moonstrike
Ik moet toch is aan mijn php skulls werken Embarassed Razz

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 12:08
door KillerSponge
[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

Re: Adresboek Script check

BerichtGeplaatst: 21 jul 2006 13:28
door Weeeyaa
oke Smile bedankt kan ik weer verder Smile