Passing variables properly

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
FayeC
Forum Newbie
Posts: 4
Joined: Tue Apr 01, 2008 11:36 am

Passing variables properly

Post by FayeC »

I am trying to edit a simple application composed of two files: admin and publish.
Admin adds items to the tab delimited file.
publish reads the tab delimited file and shows a table with that data filled in and shows 6 more columns to be filled with corresponding information and then written to a .mod file using .templates.
The issue is that after the item is added to the tab delimited file and we go to the publish file to add the extra data to the newly added item the fields that should be empty have now mismatched data (data from other static fields are being filled into fillable ones) and one of the keys is not showing. BUT after the item is republished all the new information is stored properly and shown properly in the .mod file.
I am trying to debug this but I can't figure out how. Can anybody tell me how to use phpinfo.php to debug this app?

Thank you,

FayeC
michaelh613
Forum Commoner
Posts: 38
Joined: Sun Mar 16, 2008 1:35 pm

Re: Passing variables properly

Post by michaelh613 »

FayeC wrote:I am trying to edit a simple application composed of two files: admin and publish.
Admin adds items to the tab delimited file.
publish reads the tab delimited file and shows a table with that data filled in and shows 6 more columns to be filled with corresponding information and then written to a .mod file using .templates.
The issue is that after the item is added to the tab delimited file and we go to the publish file to add the extra data to the newly added item the fields that should be empty have now mismatched data (data from other static fields are being filled into fillable ones) and one of the keys is not showing. BUT after the item is republished all the new information is stored properly and shown properly in the .mod file.
I am trying to debug this but I can't figure out how. Can anybody tell me how to use phpinfo.php to debug this app?

Thank you,

FayeC
phpinfo isn't your problem. Post the code that is trying to break out the code variables. Then we can look at it and try and help
Post Reply