Jump to content

Need help with a slight modification of a php classified ads script


sxp

Recommended Posts

I'm using a classified ads script that I want to modify. Although I have zero experience using PHP I've managed to link the classified script with my MYsql database, in addition to modifying the look of the site to the way I want.

 

I'll explain the modification that I want: When you post an ad on my site I want the information to be listed vertically in the form of a box with the main information present within the box, not horizontally like a craiglist ad, which is how it looks right now. I want the next ad thats posted (also in a box) to be placed alongside, to the left of the previous ad, pushing it to the right.

 

Its like choosing between list view or gallery view on ebay. I want the ads to be only viewed in a gallery mode. I want 5 columns/spaces for 5 boxes accross, and 10 rows down before the ad gets pushed to the next page. I hope this makes sense.

 

How hard will it be to create a script that can do this? Do I need to know more than just PHP?

Link to comment
Share on other sites

  • 2 weeks later...

What you are looking at isn't PHP code, but is all styling.  Which would mean HTML, CSS, possibly JS.  The PHP just sends the information as output, so if you have the correct data, then styling is all that is left.  The clincher is, that it is possible that all of the HTML is embedded in PHP code.  Not to worry though, as this would most likely be in string format. 

The downside to this thread is that without any code, we cannot point you in the right direction.

Link to comment
Share on other sites

  • 2 weeks later...

I've somewhat figured out how to correct this but I really appreciate the responses. I was checking this site for at least 8 days straight and I still didn't see a single response, lol. I thought you guys weren't interested.

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.