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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.