Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2021-08-24, 04:15 AM   #1
jollyhumper
That's what she said
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 2,265
Send a message via ICQ to jollyhumper
PHP pulling random line

Hi

Let's say a text document has 30 lines in it.
How could PHP be used to randomly pull one of those lines, each time the web page is built?
I'm looking to pull a random category or partner, or something, on my pages.

PHP is not my strongest side

Thanks anyhow
Jlly
jollyhumper is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:26 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Greenguy Marketing Inc