Hello all,
What would be the best way to set up a PHP function that can check a field and if no data exists, it will not display. but if it does, it will show the data.
Example:
Fields are Thumb1, Thumb2, Thumb3.
Thumb1 = \pics\family\dadmom.jpg
Thumb2 = \pics\family\grandma.jpg
Thumb3 = (nothing)
PHP, on my site I have a table and want to display the Thumbs when user does mouseover. Problem is since some Thumb# fields are blank, it show the missing picture icon in IE. Sooo, I want to make something in PHP that will check the Thumb# record and if link to pic exists, it will show in the table. And if no link in field, PHP knows to skip over it.
Thanks,
Joe
What would be the best way to set up a PHP function that can check a field and if no data exists, it will not display. but if it does, it will show the data.
Example:
Fields are Thumb1, Thumb2, Thumb3.
Thumb1 = \pics\family\dadmom.jpg
Thumb2 = \pics\family\grandma.jpg
Thumb3 = (nothing)
PHP, on my site I have a table and want to display the Thumbs when user does mouseover. Problem is since some Thumb# fields are blank, it show the missing picture icon in IE. Sooo, I want to make something in PHP that will check the Thumb# record and if link to pic exists, it will show in the table. And if no link in field, PHP knows to skip over it.
Thanks,
Joe