Question
Wildcards in 3rd party script
I am trying to adapt a 3rd party calendar script for
operation on my PHP
site. I'm guessing that the script was writted for use with Access or
something besides MySQL since it uses "*" as a wildcard in the SQL (which I
can fix). But it also uses that wildcard in the body, e.g.,
if (($val['day'] == $cellValue) && (($val['month'] == $this->month) ||
($val['month'] == '*')) && (($val['year'] == $this->year) || ($val['year']
== '*'))) {
How do I patch that - or do I even need to?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
site. I'm guessing that the script was writted for use with Access or
something besides MySQL since it uses "*" as a wildcard in the SQL (which I
can fix). But it also uses that wildcard in the body, e.g.,
if (($val['day'] == $cellValue) && (($val['month'] == $this->month) ||
($val['month'] == '*')) && (($val['year'] == $this->year) || ($val['year']
== '*'))) {
How do I patch that - or do I even need to?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
