[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/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 - Variabele vergemakkelijken..
Pagina 1 van 1

Variabele vergemakkelijken..

BerichtGeplaatst: 30 maart 2005 19:08
door Stef
Hmm geen idee hoe ik dit zou moeten noemen.

Ik gebruik nu:
[syntax="php"]<?php print $algemeen['blaat']; ?>[/syntax]

Nu moet ik dat overal neer planten, is er niet geen gemakkelijkere manier?
Dat het omgezet wordt naar {BLAAT}?

Zonder dat ik naar een template moet gaan linken.

BerichtGeplaatst: 30 maart 2005 19:32
door KillerSponge
t spijt me, maar ik snap niet wat je bedoeld Embarassed

BerichtGeplaatst: 30 maart 2005 19:33
door Derk
<?php $blaat=$algemeen['blaat']; ?>
en dan <? print$blaat; ?>
zoiets?
dat print kan nog korter ^^ ik weet alleen niet hoe maar dat zei WSN

BerichtGeplaatst: 30 maart 2005 19:50
door KillerSponge
echo is korter dan print Razz

maar als dat wat derk zegt is wat je bedoeld is dat idd het kortst

BerichtGeplaatst: 30 maart 2005 21:18
door Derk
hij gebruikte al print dus d8 ik dat je beter print kan blijven gebruiken.

BerichtGeplaatst: 30 maart 2005 21:43
door Stef
Nee, ik wil gewoon {BLAAT} kunnen gebruiken zonder <?php ?> of print's.

BerichtGeplaatst: 30 maart 2005 21:56
door Derk
volgens mij kan dat niet.
Zijn er scripts met PHP die dat wel kunnen?

Daarbij als het kan blijft het nog altijd:
{ algemeen[blaat] } of iets dergelijks
want het is in jou voorbeeld een arrey en dan moet je de arreynaam geven en je moet het vakje of hoe je dat wilt noemen geven

Als het geen arrey zou zijn zou dit in principe wel kunnen
{ blaat }
Ik weet alleen niet hoe je iets zo kan instellen dat dat werkt.

BerichtGeplaatst: 30 maart 2005 21:59
door Stef
Dit kan met template $tpl->assign("BLAAT" => $blaat), oid.

BerichtGeplaatst: 01 apr 2005 06:49
door KillerSponge

BerichtGeplaatst: 01 apr 2005 08:17
door Derk
ik heb nu idd gezien watje bedoelt.
ik denk dat phpbb het bestand inleest en dan met string replace werkt....

BerichtGeplaatst: 02 apr 2005 22:25
door Stef

BerichtGeplaatst: 03 apr 2005 10:24
door KillerSponge


Rolling Eyes

BerichtGeplaatst: 03 apr 2005 11:08
door Stef

BerichtGeplaatst: 03 apr 2005 12:47
door KillerSponge
hm, maf... ik ken het niet, en gebruik het niet Smile