Search found 7 matches

by patr9257
Fri Oct 23, 2015 4:24 pm
Forum: PHP Questions / Hints
Topic: How to create a popup lookup form in PHP?
Replies: 17
Views: 21442

How to create a popup lookup form in PHP?

We are running Zend Server on our IBM i. I have a PHP script that renders an HTML form on the browser that is populated with data from a PF on our IBM i. One of the fields on the form is a vendor number field. The user will need to enter/update this field from time to time. I would like to create a ...
by patr9257
Mon Sep 21, 2015 2:19 pm
Forum: PHP Questions / Hints
Topic: PHP script to update an IBM i physical file
Replies: 3
Views: 6827

Re: PHP script to update an IBM i physical file

Scott,

Yes, that is a big help. Thanks.
by patr9257
Thu Sep 17, 2015 9:37 pm
Forum: PHP Questions / Hints
Topic: PHP script to update an IBM i physical file
Replies: 3
Views: 6827

PHP script to update an IBM i physical file

I am writing a PHP script to update a single record in a PF on our IBM i (AS/400). I will be updating several (but not all) columns in the record. What is the safest and most efficient approach? Should I concatenate a string together with the variable names to create an SQL update query and use db2_...
by patr9257
Thu Aug 20, 2015 7:23 pm
Forum: PHP Questions / Hints
Topic: Need help with form-driven inquiry/update page
Replies: 1
Views: 3210

Need help with form-driven inquiry/update page

I am starting my first PHP project at my company. We are running Zend Server on an IBM i (AS/400). I want to create a form-driven webpage that is for internal use only in our company. I want to create a form where the user will enter an item number in a text box for inquiry. When the user submits th...
by patr9257
Mon Aug 17, 2015 10:06 pm
Forum: PHP Questions / Hints
Topic: How to standardize web pages?
Replies: 3
Views: 3749

Re: How to standardize web pages?

Is it possible to mix PHP and HTML code in the same file? I have tried to embed a simple <?php echo 'Hello from PHP'; ?> script in an html file but the script does not execute. The surrounding html works just fine. If I try to embed html tags (a form in this case) in a php file, I get a 500 Internal...
by patr9257
Wed Jul 29, 2015 9:04 pm
Forum: PHP Questions / Hints
Topic: How to standardize web pages?
Replies: 3
Views: 3749

How to standardize web pages?

I am new to PHP. We have just installed Zend Server on our IBM i in our company. I will be using PHP to create several web pages for internal use in our company. What would be a good approach for standardizing the layout of all the web pages. I would like to have each page use a "master" page so tha...
by patr9257
Wed Jun 24, 2015 4:40 pm
Forum: Zend Server for IBM i
Topic: Convert CCSID 65535 to ASCII
Replies: 1
Views: 2193

Convert CCSID 65535 to ASCII

We have just installed Zend Server 8 on our IBM i (AS/400). I am running a test php script over one of the physical files (PF) in our ERP system. Several of the fields in the PF are defined as CCSID(65535). If I try to query over fields that are not CCSID 65535, my query works just fine. If, however...