Michael,

If you are validating against data on the i, couldn't you have a drop down list of possible values? So if you are validating invoice type or store, then you just allow drop down lists with the valid entries that way the user can only select valid values?

If you list is large, you could use a type ahead approach as well.

THanks, Paul

On 2/5/2013 10:17 AM, Michael Ryan wrote:
What's a good way to do simple validation against data contained on the i
from a PHP program? I'd rather not invest in having to prepare, param, and
execute a stored procedure when all I need is a simple true or false. I
have functions (implemented as procedures in a service program) that
returns what I want, but I'm having trouble executing that function from
PHP. I don't have a problem with a stored procedure that returns values or
a stored procedure that returns a result set.

Is there something special/different about functions?

Thanks!




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.