Hey guys thank you for the help you have been giving me it is much appreciated!!! Now can someone help with some code, im developing a website using php and mysql and id like to know how do you limit the amount of data that the php script takes from the database??? And another problem i have is that it repeates the data that is contained in the table!! How do i stop that??? Im really a novice when it comes to this!!:(
spokie
0
Newbie Poster
Recommended Answers
Jump to Postcan you post the code so we can see what you did wrong?
if you are wanting to limit the number of results returned from a mysql query you can use the LIMIT parameter.
to remove duplilcates you can use the DISTINCT param in the query as well.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.