I Need Help On A Php Project - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › I Need Help On A Php Project (1297 Views)
| I Need Help On A Php Project by dave1614(op): 11:09am On Mar 16, 2018 |
Guys please I need help on a PHP project I'm working on. Please can anyone explain to me how nairaland indexes it's pages and stores topics under different number indexes. I would be greatly grateful. |
| Re: I Need Help On A Php Project by micodon(m): 1:19pm On Mar 16, 2018 |
It's not a PHP issue. it's a mysql issue. Read up about database normalization |
| Re: I Need Help On A Php Project by MrCEO69(m): 1:22pm On Mar 16, 2018 |
Is money involved? |
| Re: I Need Help On A Php Project by alort: 1:43pm On Mar 16, 2018 |
if you mean the 'nairaland.com/{a number}/{a permalink}' url pattern. you can do that by generating a unique id for each created entry(a thread in this case) and storing it in the database. when a link such as that above is opened, the number in the "a number" portion is checked against the database and the entry whose id matches that number is retrieved. pm me if thats not what you mean or if you dont still understand. |
| Re: I Need Help On A Php Project by Bolaji21(m): 2:45pm On Mar 17, 2018 |
dave1614:For each topic created, a unique slug is generated from the title and saved in topics table with a unique ID (autoincrement). When user enters url of a topic, server strips the slug and searches the topic table for a match and returns the row (creator, create time, body, title etc). The rest is php pagination. That's the summary. Just php, mysql and htaccess at work. Reach me on adeademi2@gmail.com if you need help |
| Re: I Need Help On A Php Project by Tunzxywalex(m): 8:08am On Aug 25, 2018 |
It simple logic check my site forum www.naijadev.ml was constructed by me fully if u need help message me |
A PHP Project For A Student. • Check Out This Cool Php Project • Naijadev Socialite Php Project Ready For Sales! • 2 • 3 • 4
Prestashop Ecommerce Mobile App Builder By Knowband • 10 Or More Programmers Needed To Co-found A Big Technology Company • It Or Ict Related Course To Study