Share on Facebook Share on Twitter

This is very simple PHP Random Script to get Text from txt file and show it where you want to show. You can easy include it by PHP code or using java script to include it. With java script, you can easy share your random quote, just give theme a code, that’s all. PHP Random Quote run with 4 files inside. Here is how you install it:
Upload all file inside folder: php-random-quote to your web host. Edit file bienthuy.txt to your need.
One quote per line. You can enter quote as much as you want, just remember ONE PER LINE
Then run it in your browser:

Demo PHP Random Quotes:

If you want to share it, just give your friend Java Script like this:

Files Content: ONE PER LINE, you can use html code in this txt file.


Using:  If you use PHP, then include it where you want to show

If you want to use Java Script or want to share, use this code:

If share, just edit the link:

Download PHP Random Quote:

Same tags:

  1. How to remove all attributes from a tag using PHP
  2. Tạo hệ thống vote giống youtube
  3. PHP – Convert number to text

Other Posts you may be interested in:

  1. Thánh Dực quân thời nhà Trần
  2. Responsive Tables Bootstrap Examples
  3. Che Guevara – Chân dung bất tử
  4. Cách tạo và thêm chữ ký trong Microsoft Outlook
  5. How to pin to start, unpin from start, pin to taskbar on windows 10
  6. Domains & Godaddy Hosting
  7. Niệm số trị bệnh, chữa bệnh theo tượng số chu dịch

Last updated on August 29th, 2015 at 03:57 pm


What do you think?