Jump to content

gallery with mysql


trikolad

Recommended Posts

hello I tried to build a gallery for a store

I did that with tables and took the info from mysql DB

the architechture is like this:

 

          picture(from DB)

 

"serial:" number(from DB)

 

"model:" model_name(from DB)

 

"our price:"  price(from DB)

 

and for every model I get different galleries according to mysql DB

 

 

it really looked not pretty - nothing is inline especially the pictures

and the main reason is that each model has different length so it takes more or less rows.

 

can you show me the right way to do this kind of project

and maybe some css/php/html files that do something like this with sql?

 

Link to comment
https://forums.phpfreaks.com/topic/134738-gallery-with-mysql/
Share on other sites

Tables...

 

<table>

<tr>

<td>

</td>

<td>

Pic

</td>

</tr>

<tr>

<td>

serial:

</td>

<td>

Number

</td>

</tr>

 

You get the picture, but surely you already know this.

 

Other option, the one I would use, is list them in a JS array and have a back and next button the change them using that array...

Link to comment
https://forums.phpfreaks.com/topic/134738-gallery-with-mysql/#findComment-701621
Share on other sites

I KNOW how to syntax a table!!

 

I already have it working with the mysql DB calls

 

BUT it looks really unproffessional

please guide me to somewhere where I can find examples

because there are milions of shops all around the web that do it

I just dont know how all the pictures and texts look so neet and in same size

and the imporant thing is it has to use the mysql DB

Link to comment
https://forums.phpfreaks.com/topic/134738-gallery-with-mysql/#findComment-701629
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.