I have Three small jobs I need doing on my site and admin pages
1. Edit list code
I need code to generate a fixed list of 10 data variables each separated by an opening and closing ^.
The data is to be pulled off table of images where the picture id (pid) matches.
If there are less than 10 images the code should generate still generate the opening and closing symbols ^^
My code pulls the data in the correct format, but it only writes code where there is fields in the table - so if there are only 4 images it writes 4 lines.
^[url removed, login to view]^[url removed, login to view]^[url removed, login to view]^[url removed, login to view]^|
it needs to write
^[url removed, login to view]^[url removed, login to view]^[url removed, login to view]^[url removed, login to view]^^^^^^^|
its onlene at
[url removed, login to view]
I attach my php code and the sql dump.
2 I want a form on my site to edit mass data
it needs to list 10 rows of data (eg address1, address2, price, quamtity, display etc) in a form with a submit button that updates all amended data, refreshes to show the same data, and a next button to see the next 10 rows.
3 I want a back button coding from detail page
I have a search function on my site and the results have a pageing code which splits them into pages of 12. each block has a link to a details page. I want a back button from this detail page to the correct block or records in the search results ( not just a 'go back a page' code) ie if this is page 4 of the recordset - the link must go back to that, not to the firat page in the recordset.
I have more work on this site to follow as another project, eg listing recently viewed records, creating a shortlist etc. It would make sense for the same coder to work on this if possible.