RE: [PHP] New Question
| From: | Sam Masiello | Date: | Wed, 28 Jun 2000 18:33:21 +0000 |
| Subject: | RE: [PHP] New Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3634@lists.php.net to get a copy of this message | ||
Take a look at the string functions in the PHP manual...particularly
http://www.php.net/manual/html/function.stristr.html
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Phillip S. Baker [mailto:phillip@wordsandimages.com]
Sent: Wednesday, June 28, 2000 2:14 PM
To: php-general@lists.php.net
Subject: [PHP] New Question
Hey Gents,
Got a new question Here.
Okay I have just pulled data from a MySQl database.
In field game there are the following datas that might appear
ef
ef2
ef_cus
rs
rs_cus
Now I want to write a bit of code that will say something to the effect
if you find _cus in the game field display this piece of HTML code.
Otherwise display nothing.
How might I go about doing this?
--
Phillip S. Baker
phillip@wordsandimages.com
Words & Images, Inc.
1535 Seabright Avenue, Suite 100, Santa Cruz, CA 95062
Direct Line (831) 420-2641 / Fax (831) 458-0808
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net