Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm not asking for help with coding I'm just asking for somebody to help me come up with an idea of how I would make it.
Basically I want to make a basic Q&A forum, I guess you could say its like Stackoverflow, but not nearly as advanced its just something quick to add onto my website.
I was thinking of just making a default form you fill out to post what you want then it'll just save the POST of all the data into a table in a database and it'll give it an auto_incremented ID. The only thing I can't think of is how I would display all of them on the homepage, make it so it only displays a maximum of 15 posts and then make different pages like Page1,2,3,etc...
Should I check the table for how many rows there are and then save that amount as a variable then make it post them in order from what ID they have? I'm not sure what I could do for comments and everything but I would love your guys help with figuring this out!
As I said this isn't really much about the coding, its more about figuring out the logic behind how I would make it.
What your asking about is termed pagination here's a php tutorial
http://net.tutsplus.com/tutorials/php/how-to-paginate-data-with-php/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Well, I recently have been trying to come with code to create matrix in which word hunting can be done. I want the user to initialise rows, columns and of course give the words, it is too difficult to create such code/algorithm as the words can be placed vertically, horizontally or diagonally. I also tried google for such algorithms but without any luck. So, if anyone has an algorthm in mind or has written such PHP code, itll be really great if I can see that.
Thanks in Advance,
Nalin Bhardwaj
I am so sorry , I posted this question here, as suggested by one of the users, I googled a few different things online an dhave found a ruby file which has been built for the same purpose. And , if anybody would like to access it, they may check it out online at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/298382 . And, now I have decided to use this algorithm itself to create such a PHP file. Thank you everybody, for suggestions
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Hi I want to learn Magento, I am doing PHP for almost 2 years learn CMS and framework. Now want to learn Magento but I do not found any solid source to understand functionality and DB structure of magento. If any one can give me some books name or good article that will be very helpful thanks..
The best way to learn Magento is to solve issues as you go along. Maybe a good place to start is this:
http://www.magentocommerce.com/knowledge-base.
Also the guys at siteground did a nice thing with this: http://www.siteground.com/tutorials/magento/
Other than this, maybe you should actually start working on a task and when you hit a brick wall (this should happen very fast), just see how other people solved the issues.
As for database structure, maybe you should read about the EAV paradigm. This is how the products, categories and customers are stored in the DB.
If you insist on a database structure here it is...but good luck with that.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I would like to create a dynamically populated javascript slide show for an e-commerce site, where I have a product list with several categories.
I would like to be able to create slide shows with roughly 5 linked images displaying at one time, starting with newest products. I'd like to be able to take them all from the same list and put them in different slide shows, so for images from category 1 they are in category 1 slide show, same for cat 2,3, etc...
Is there a tutorial or series of tutorials that could teach me this that someone would personally recommend (there is plenty on dynamically populated javascript and plenty on slide shows, but nothing that links the two in a way I can understand).
If there isn't would someone be willing to share a sample code or something for it, if I can see the code I can figure it out for myself, but if you are willing to explain in detail then that would be even better.
Thanks!
I'm not sure if this is exactly what you are looking for, but you can try this tutorial: http://sixrevisions.com/tutorials/javascript_tutorial/create-a-slick-and-accessible-slideshow-using-jquery/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I found heaps of tutorials on Google, but none of them actually cover howto "create" the form, they all revolve around modifying an existing form(and overwrite it), rather than creating a new one by duplicating it.
Anyone know of a good tutorial that will show me how to do that?
Ideally I need to get file attachments in there too, but that'll come later :P
This tutorial might help you http://activecodeline.net/magento-custom-email-contact-form-with-notification-system
First of all, while you can make a contact form itself in HTML, and add basic interaction with Javascript, you'll have to use PHP with the send email function to send the email to yourself. PHP will also be used to upload files.
I don't think there's any one perfect tutorial, as you'd generally want to read a tutorial to get the gist of how its done, then do it your way, but you could try one of the ones here: http://www.html-form-guide.com/category/email-form
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
In my webiste, I classify all my entries by categories, wich its becoming a little confusing as I have like 3.000 entries now.
so, I need to implement tags.
I know all the website use them now, wordpress and everything.. I have been google'ing for a real while... is there a built in script (or almost) to manage tags? (insert tags, list tags, top tags,.)
I mean, there has to be any utility that can help me with this.. do you know any?
you haven't found a script probably because using tags is quite simple :)
I have implemented tags into one of my projects using the "Scuttle" solution in the next link:
http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html
Hope this helps...
Treat your categories as tags now.
If your categories are not poly-hierarchical, then consider making them so.
(eg an article could appear in more than one category)