Searching An object
Posted: Sun Apr 09, 2006 11:38 pm
feyd | Please use
Any help appreciated
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I'll try to make this clear as i can. I want to search through an object and return match or no match depending on whether the object contains any data.
something like thisCode: Select all
if (some_search_function here)
{
echo "<td><p>Match</p></td>";
}
else
{
echo "<td><p>No Match</p></td>";
}feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]