Copy link to clipboard
Copied
Hi everyone,
could somebody please help me, this is my first php and mysql website, I have a web page that is supposed to display a table with 2 rows 3 columns.
In each column i want an image, a description and a paypal button.
then i have a repeat region placed around the second row which should display 3 records at a time.
The recordset worked when I tested it several times, and the paypal button displays in the browser, but the image and the description won't display and the repeat region doesn't work either as only one button paypal button displays.
I have uploaded the actual page, in the hope that some could take a look and help me to find out what the problem is.
Thanks
Copy link to clipboard
Copied
In the second row, did you mean you want the three fields to display, not three records? A record is one row of data.
Start by getting a single row to display, and leave the paypal button out for now. So that means you will see the first record in your recordset, the image and description. To view the description, use the data bindings panel, expand the recordset and drag the description field onto the page in the table. For the image, insert and image placeholder and point the source to a dynamic data source. Again, choose the approprate field from your recordset.
Once that record is working, add your repeat region and test.
For the Paypal button, I am not sure if each button will carry the correct information with it in a repeat region. There has to be a way to dynamicall add the approprate data to the paypal link for each record. You may want to also incude checkboxes or radio buttons and have only 1 paypal button - but that introduces other issues which we can tackle later.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now