₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,937 members, 8,443,060 topics. Date: Saturday, 11 July 2026 at 06:54 AM

Toggle theme

Please How Can I Achieve This With Php - Webmasters - Nairaland

Nairaland ForumScience/TechnologyWebmastersPlease How Can I Achieve This With Php (2009 Views)

1 Reply (Go Down)

Please How Can I Achieve This With Php by AllyPolly(op): 6:43am On Sep 14, 2017
Good morning developers, i have a website in form of nairaland. , please how can i update the front page with links automatically without creating it manually again using the <a> tag manually ?
Thanks
Re: Please How Can I Achieve This With Php by AdolphBrian: 2:01pm On May 04, 2019
PHP cannot do this sort of thing
Re: Please How Can I Achieve This With Php by AdolphBrian: 2:04pm On May 04, 2019
Rather you should aim at using JavaScript (preferrably a JS framework like JQuery). With it you can set a particular element on the webpage to have its contents constantly overwritten (maybe every 2 seconds) by a PHP code in a .php file
Re: Please How Can I Achieve This With Php by wwwmaster: 2:43pm On May 04, 2019
AdolphBrian:
PHP cannot do this sort of thing
Php can do it, use conditional statement.
Posts will be moved to the front page if the logic is met.
Very simple.
Re: Please How Can I Achieve This With Php by makavele: 3:04pm On May 04, 2019
[quote author=wwwmaster post=78099546]Php can do it, use conditional statement.
Posts will be moved to the front page if the logic is met.
Very simple.[/quote]Simple as ABC .... I wonder where that dude got his reason from; I was itching to hear more.
Re: Please How Can I Achieve This With Php by Ayemileto(m): 3:32pm On May 04, 2019
makavele:
Simple as ABC .... I wonder where that dude got his reason from; I was itching to hear more.
I think the guy didn't understand the question.

If you read his second reply, you'll realize he's talking about something else.
Re: Please How Can I Achieve This With Php by Nobody: 3:35am On May 05, 2019
I did this with node.js some while ago.
Will share the code with you.
Maybe you'd improvise and implement with PHP.
Also, it depends on the links you'd like to appear.... Don't know if you want every links as in topics user post to appear on your front page, or the ones you'd like to appear on the front page.
Re: Please How Can I Achieve This With Php by Nobody: 7:40am On May 05, 2019
modestbrowser:
I did this with node.js some while ago.
Will share the code with you.
Maybe you'd improvise and implement with PHP.
Also, it depends on the links you'd like to appear.... Don't know if you want every links as in topics user post to appear on your front page, or the ones you'd like to appear on the front page.
Either way, you can do it in PHP
Re: Please How Can I Achieve This With Php by wwwmaster: 8:20am On May 05, 2019
modestbrowser:
I did this with node.js some while ago.
Will share the code with you.
Maybe you'd improvise and implement with PHP.
Also, it depends on the links you'd like to appear.... Don't know if you want every links as in topics user post to appear on your front page, or the ones you'd like to appear on the front page.
That's why I said conditional statement
Eg if $post_likes > 1000
....
1 Reply

Webmasters How Can I Achieve ThisOnline Banking App Source Code Script Built With PHPHow To Create An Online Shipping Website With Php Script234

Moving From To WordpressThis Is Crazy But Real! Own An Android Chat App Like Whatsapp Now For #2,500!If You Want To Earn $20 And Above With Adsense Daily