|
And a data structure array would be a fine idea. My problem is getting the
data from the HTML form to the i via PHP. I'm not sure of the right
mechanism when I do the post.
On Fri, Feb 15, 2013 at 11:13 AM, Vernon Hamberg
<vhamberg@xxxxxxxxxxxxxxx>wrote:
Without much thought, I recommend using a data structure array insteaduser
of an MODS. Coding is a smidgeon easier - certainly cleaner and easier
for the future to understand.
HTH
Vern
On 2/15/2013 9:56 AM, Michael Ryan wrote:
I need to send a bunch of data to the i using PHP. I'm reworking a 5250
subfile program that presents a data entry subfile to the user. The
anenters information into the subfile fields, presses enter, and theprogram
then processes each entry in the subfile.
I want to do this process in HTML and PHP. I'm thinking of displaying
--HTML table and then processing each row when the user POSTs the data. Ias a
want to call a stored procedure to validate the data in each row.
My first thought would be to send all the data to the stored procedure
series of arrays, one for each column in the . The RPG developer (whowill
write the code that will become the stored procedure) is looking forfrom
basically a MODS as input. I want to keep the validation SP accessible
both RPG and PHP.
Any ideas? Thanks!
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
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.