match an array value with a word
From: george (russell_at_waiheke.co.nz)
Date: 07/27/04
- Next message: PhilM: "form button names as variables"
- Previous message: SubSonic: "Re: which is better discussion board? phpbb or invision?"
- Next in thread: Luciano Tolomei: "Re: match an array value with a word"
- Reply: Luciano Tolomei: "Re: match an array value with a word"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jul 2004 07:21:36 -0700
Could someone help me?
I'm trying to read an array and if one of the values == a word, then
assign a new value to it.
In other words if one of the values is 'apple' I need to assign a <a
href=apple.htm> to it. But if it's 'pear' then assign <a
href=pear.htm>. Meanwhile, ignore 'firewood' and 'and' values.
Help is greatly appreciated.
Cheers!
- Next message: PhilM: "form button names as variables"
- Previous message: SubSonic: "Re: which is better discussion board? phpbb or invision?"
- Next in thread: Luciano Tolomei: "Re: match an array value with a word"
- Reply: Luciano Tolomei: "Re: match an array value with a word"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]