I installed jpdeni's relational mod. After getting the updated code the default installation worked perfect. I had a rough time when I tried to write my own field names, so I just used her names and edited the html to display what I wanted. That works great until an error happens and a user is asked to fix field price and I am using it as a gender field.
On a db that was working, I took my item.cfg and replaced the word Price with Gender in the two areas it was found. In the db def and the select field build up area I made the switch. I took item_html and made the switch in the html record form, html record, and html record long. I searched user_html, but did not find a cross reference. When I used the new script the first record is correct, but the records there after are missing my renamed field.
I edited html record to show a detailed output for each record. It worked fine till I changed Price to Gender. I did not alter the db at all. I had been using the db with just different field names but the same data. Below is a copy of the lines I edited:
Here is a copy of my entire html_record that I changed to show a full record instead of the short long version.
I am not sure what I may have missed. The original db worked fine. With just one field rename I botched the output when more than one record is being printed. I have 2 versions of dbman installed. This version is with the renamed field.http://www.tinygiants.com/...bman2/db.cgi?db=user
This is my stock field name version. http://www.tinygiants.com/...dbman/db.cgi?db=user
Thanks for the help.
Dale
On a db that was working, I took my item.cfg and replaced the word Price with Gender in the two areas it was found. In the db def and the select field build up area I made the switch. I took item_html and made the switch in the html record form, html record, and html record long. I searched user_html, but did not find a cross reference. When I used the new script the first record is correct, but the records there after are missing my renamed field.
I edited html record to show a detailed output for each record. It worked fine till I changed Price to Gender. I did not alter the db at all. I had been using the db with just different field names but the same data. Below is a copy of the lines I edited:
Here is a copy of my entire html_record that I changed to show a full record instead of the short long version.
I am not sure what I may have missed. The original db worked fine. With just one field rename I botched the output when more than one record is being printed. I have 2 versions of dbman installed. This version is with the renamed field.http://www.tinygiants.com/...bman2/db.cgi?db=user
This is my stock field name version. http://www.tinygiants.com/...dbman/db.cgi?db=user
Thanks for the help.
Dale