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 12075 Oct 15, 2001, 3:51 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11127 Oct 15, 2001, 3:56 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11140 Oct 15, 2001, 3:58 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11124 Oct 15, 2001, 4:05 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11127 Oct 15, 2001, 5:10 AM
Post; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11078 Oct 15, 2001, 5:27 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11129 Oct 15, 2001, 5:29 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11119 Oct 15, 2001, 5:34 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11044 Oct 15, 2001, 5:38 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
QooQ 11080 Oct 15, 2001, 6:52 AM
Thread; hot thread Post deleted by RedRum
Paul 11208 Oct 15, 2001, 6:57 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
QooQ 11188 Oct 15, 2001, 7:04 AM
Post; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 11065 Oct 15, 2001, 7:09 AM
Post; hot thread Re: Paul's Sig
Wil 11096 Oct 15, 2001, 7:09 AM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 11086 Oct 15, 2001, 7:12 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11154 Oct 15, 2001, 7:36 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 11326 Oct 15, 2001, 7:40 AM
Post; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 11024 Oct 15, 2001, 8:03 AM
Post; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 11098 Oct 15, 2001, 7:02 AM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
cfox 10944 Oct 16, 2001, 10:32 PM
Thread; hot thread Re: [cfox] Why dymanic pages as opposed to HTMl?
Wil 10376 Oct 17, 2001, 1:20 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Jagerman 10521 Oct 20, 2001, 9:10 PM
Thread; hot thread Re: [jagerman] Why dymanic pages as opposed to HTMl?
Wil 10605 Oct 21, 2001, 7:02 AM
Post; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
samtha25 10345 Oct 21, 2001, 11:06 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Alex 10397 Oct 21, 2001, 3:05 PM
Thread; hot thread Re: [Alex] Why dymanic pages as opposed to HTMl?
brewt 10418 Oct 21, 2001, 5:48 PM
Thread; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Wil 10368 Oct 22, 2001, 1:15 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
samtha25 10427 Oct 29, 2001, 1:28 PM
Post; hot thread Re: [samtha25] Why dymanic pages as opposed to HTMl?
Alex 10325 Oct 29, 2001, 1:43 PM
Thread; hot thread Re: [samtha25] Why dymanic pages as opposed to HTMl?
Wil 10376 Oct 30, 2001, 1:06 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
QooQ 10334 Oct 30, 2001, 5:47 AM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Wil 10379 Oct 30, 2001, 8:08 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Paul 10498 Oct 30, 2001, 8:23 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
QooQ 10397 Oct 30, 2001, 3:42 PM
Thread; hot thread Re: [QooQ] Why dymanic pages as opposed to HTMl?
Paul 10391 Oct 30, 2001, 3:47 PM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
brewt 10344 Oct 30, 2001, 5:54 PM
Thread; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Jagerman 10324 Oct 30, 2001, 6:32 PM
Thread; hot thread Re: [jagerman] Why dymanic pages as opposed to HTMl?
Paul 10383 Oct 30, 2001, 6:36 PM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
brewt 10268 Oct 30, 2001, 8:13 PM
Post; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Alex 10289 Oct 30, 2001, 8:17 PM
Post; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Paul 10230 Oct 31, 2001, 4:03 AM
Thread; hot thread Re: [brewt] Why dymanic pages as opposed to HTMl?
Michael_Bray 10447 Oct 31, 2001, 4:42 AM
Thread; hot thread Re: [Michael_Bray] Why dymanic pages as opposed to HTMl?
Paul 10261 Oct 31, 2001, 4:59 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Michael_Bray 10577 Oct 31, 2001, 5:10 AM
Thread; hot thread Re: [Michael_Bray] PHP v. Perl
Wil 10582 Oct 31, 2001, 5:45 AM
Thread; hot thread Re: [Wil] PHP v. Perl
Paul 10596 Oct 31, 2001, 6:05 AM
Thread; hot thread Re: [RedRum] PHP v. Perl
Wil 10562 Oct 31, 2001, 7:08 AM
Post; hot thread Re: [Wil] PHP v. Perl
Paul 10514 Oct 31, 2001, 7:35 AM
Thread; hot thread Re: [Michael_Bray] Why dymanic pages as opposed to HTMl?
raphb 10451 Nov 15, 2002, 5:16 AM
Post; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10425 Nov 15, 2002, 5:22 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Jagerman 10441 Nov 15, 2002, 5:58 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
joet 10420 Nov 15, 2002, 6:35 AM
Post; hot thread Re: [joet] Why dymanic pages as opposed to HTMl?
Jagerman 1994 Nov 15, 2002, 6:39 PM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10419 Nov 15, 2002, 7:12 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10388 Nov 15, 2002, 7:14 AM
Thread; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10427 Nov 15, 2002, 7:25 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10371 Nov 15, 2002, 7:49 AM
Thread; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10409 Nov 15, 2002, 8:04 AM
Post; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10334 Nov 15, 2002, 8:23 AM
Thread; hot thread Re: [RedRum] Why dymanic pages as opposed to HTMl?
Wil 10308 Oct 31, 2001, 1:18 AM
Post; hot thread Don't get me started on PHP...
Wil 10336 Oct 31, 2001, 1:21 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10679 Nov 15, 2002, 4:57 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Jagerman 10471 Nov 15, 2002, 5:02 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10457 Nov 15, 2002, 5:31 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Jagerman 10531 Nov 15, 2002, 5:57 AM
Thread; hot thread Re: [Jagerman] Why dymanic pages as opposed to HTMl?
raphb 10922 Nov 15, 2002, 6:33 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10407 Nov 15, 2002, 6:39 AM
Thread; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10440 Nov 15, 2002, 6:52 AM
Thread; hot thread Re: [raphb] Why dymanic pages as opposed to HTMl?
Paul 10396 Nov 15, 2002, 7:09 AM
Post; hot thread Re: [Paul] Why dymanic pages as opposed to HTMl?
raphb 10335 Nov 15, 2002, 7:23 AM
Post; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
raphb 10459 Nov 15, 2002, 4:50 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Alex 11063 Oct 15, 2001, 8:08 AM
Thread; hot thread Re: [Alex] Why dymanic pages as opposed to HTMl?
Stealth 11107 Oct 15, 2001, 8:49 AM
Thread; hot thread Re: [AnthroRules] Why dymanic pages as opposed to HTMl?
Wil 11069 Oct 16, 2001, 1:24 AM
Thread; hot thread Re: [Wil] Why dymanic pages as opposed to HTMl?
Stealth 11020 Oct 16, 2001, 7:03 AM
Post; hot thread Re: [AnthroRules] Why dymanic pages as opposed to HTMl?
Wil 11018 Oct 16, 2001, 7:13 AM