Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Michael_Bray] Why dymanic pages as opposed to HTMl?

Quote Reply
Re: [Michael_Bray] Why dymanic pages as opposed to HTMl? In reply to
Quote:
preg_replace('/foo/', 'bar', $foo);

I think you can leave "$foo = " out. Can't be bothered testing it, but I'm fairly sure that would work.

it doesn't :) every function returns a value (well, actually it doesn't have to), so if you don't do:

echo preg_replace('/foo/', 'bar', $foo);

or something with it the value gets returnet into /dev/null :)

ok, you could use:

preg_replace('/foo/', 'bar', &$foo);

wich would then modify the variable by reference. but DON't do this, as it's depreciated.

what about php & perl? perl is just plain ugly :) not readable.

what about the [] in the multiple select? the return value will be placed in the
Code:
value="valuename"
- so it will be just a variable. but to get multiple values in one object-name you've simply to use arrays..

it's more logic.

cu, Raphael.
Subject Author Views Date
Thread; hot thread Why dymanic pages as opposed to HTMl? Wil 12195 Oct 15, 2001, 3:51 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11247 Oct 15, 2001, 3:56 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11259 Oct 15, 2001, 3:58 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11243 Oct 15, 2001, 4:05 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11246 Oct 15, 2001, 5:10 AM
Post; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11201 Oct 15, 2001, 5:27 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11248 Oct 15, 2001, 5:29 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11238 Oct 15, 2001, 5:34 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11163 Oct 15, 2001, 5:38 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
QooQ 11199 Oct 15, 2001, 6:52 AM
Thread; hot thread Post deleted by RedRum
Paul 11331 Oct 15, 2001, 6:57 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
QooQ 11308 Oct 15, 2001, 7:04 AM
Post; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 11184 Oct 15, 2001, 7:09 AM
Post; hot thread Re: Paul's Sig
Wil 11215 Oct 15, 2001, 7:09 AM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 11205 Oct 15, 2001, 7:12 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11273 Oct 15, 2001, 7:36 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11445 Oct 15, 2001, 7:40 AM
Post; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11143 Oct 15, 2001, 8:03 AM
Post; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 11217 Oct 15, 2001, 7:02 AM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
cfox 11063 Oct 16, 2001, 10:32 PM
Thread; hot thread Re: [cfox] Why dymanic pages as opposed to HTMl?
Wil 10481 Oct 17, 2001, 1:20 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Jagerman 10631 Oct 20, 2001, 9:10 PM
Thread; hot thread Re: [jagerman] Why dymanic pages as opposed to HTMl?
Wil 10711 Oct 21, 2001, 7:02 AM
Post; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
samtha25 10451 Oct 21, 2001, 11:06 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Alex 10503 Oct 21, 2001, 3:05 PM
Thread; hot thread Re: [Alex] Why dymanic pages as opposed to HTMl?
brewt 10524 Oct 21, 2001, 5:48 PM
Thread; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Wil 10473 Oct 22, 2001, 1:15 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
samtha25 10532 Oct 29, 2001, 1:28 PM
Post; hot thread Re: [samtha25] Why dymanic pages as opposed to HTMl?
Alex 10430 Oct 29, 2001, 1:43 PM
Thread; hot thread Re: [samtha25] Why dymanic pages as opposed to HTMl?
Wil 10481 Oct 30, 2001, 1:06 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
QooQ 10439 Oct 30, 2001, 5:47 AM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Wil 10485 Oct 30, 2001, 8:08 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 10603 Oct 30, 2001, 8:23 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
QooQ 10502 Oct 30, 2001, 3:42 PM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 10496 Oct 30, 2001, 3:47 PM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
brewt 10449 Oct 30, 2001, 5:54 PM
Thread; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Jagerman 10429 Oct 30, 2001, 6:32 PM
Thread; hot thread Re: [jagerman] Why dymanic pages as opposed to HTMl?
Paul 10488 Oct 30, 2001, 6:36 PM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
brewt 10373 Oct 30, 2001, 8:13 PM
Post; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Alex 10395 Oct 30, 2001, 8:17 PM
Post; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Paul 10336 Oct 31, 2001, 4:03 AM
Thread; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Michael_Bray 10552 Oct 31, 2001, 4:42 AM
Thread; hot thread Re: [Michael_Bray] Why dymanic pages as opposed to HTMl?
Paul 10366 Oct 31, 2001, 4:59 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Michael_Bray 10626 Oct 31, 2001, 5:10 AM
Thread; hot thread Re: [Michael_Bray] PHP v. Perl
Wil 10630 Oct 31, 2001, 5:45 AM
Thread; hot thread Re: [Wil] PHP v. Perl
Paul 10644 Oct 31, 2001, 6:05 AM
Thread; hot thread Re: [RedRum] PHP v. Perl
Wil 10610 Oct 31, 2001, 7:08 AM
Post; hot thread Re: [Wil] PHP v. Perl
Paul 10562 Oct 31, 2001, 7:35 AM
Thread; hot thread Re: [Michael_Bray] Why dymanic pages as opposed to HTMl?
raphb 10500 Nov 15, 2002, 5:16 AM
Post; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10473 Nov 15, 2002, 5:22 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Jagerman 10489 Nov 15, 2002, 5:58 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
joet 10468 Nov 15, 2002, 6:35 AM
Post; hot thread Re: [joet] Why dymanic pages as opposed to HTMl?
Jagerman 2000 Nov 15, 2002, 6:39 PM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10467 Nov 15, 2002, 7:12 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10437 Nov 15, 2002, 7:14 AM
Thread; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10475 Nov 15, 2002, 7:25 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10419 Nov 15, 2002, 7:49 AM
Thread; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10457 Nov 15, 2002, 8:04 AM
Post; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10382 Nov 15, 2002, 8:23 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 10413 Oct 31, 2001, 1:18 AM
Post; hot thread Don't get me started on PHP...
Wil 10442 Oct 31, 2001, 1:21 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10737 Nov 15, 2002, 4:57 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Jagerman 10519 Nov 15, 2002, 5:02 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10505 Nov 15, 2002, 5:31 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Jagerman 10579 Nov 15, 2002, 5:57 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10970 Nov 15, 2002, 6:33 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10455 Nov 15, 2002, 6:39 AM
Thread; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10488 Nov 15, 2002, 6:52 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10444 Nov 15, 2002, 7:09 AM
Post; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10383 Nov 15, 2002, 7:23 AM
Post; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
raphb 10507 Nov 15, 2002, 4:50 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Alex 11182 Oct 15, 2001, 8:08 AM
Thread; hot thread Re: [Alex] Why dymanic pages as opposed to HTMl?
Stealth 11226 Oct 15, 2001, 8:49 AM
Thread; hot thread Re: [AnthroRules] Why dymanic pages as opposed to HTMl?
Wil 11188 Oct 16, 2001, 1:24 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Stealth 11139 Oct 16, 2001, 7:03 AM
Post; hot thread Re: [AnthroRules] Why dymanic pages as opposed to HTMl?
Wil 11138 Oct 16, 2001, 7:13 AM