Script URL:
Version of script: 1.0
Hosting company: 1and1.com
URL of phpinfo.php: www.488bone.com
URL of session_test.php:
What terms did you try when SEARCHING for a solution: searched entire help board: Random Text, RanTex
Write your message below:
installed rantex.php and am using quotes in that file instead of in the external file. I want to add a fairly large number of multi-line quotes, it seems that after I add 3 or four it will stop working. Is there a limit to how many quotes can be included in the rantex.php file?
Random Script Test
Re: Random Script Test
There's no limit, you probably made a syntax error in the PHP file that stops the script from executing.
Make sure you escape any single quotes ' with a backslash \ so instead of ' you should use \'
Each quote must start with a quote ' and end with a quote and a comma, like this ',
A correct line would look like this:
If you want to avoid these PHP rules you will need to use the external file.
Make sure you escape any single quotes ' with a backslash \ so instead of ' you should use \'
Each quote must start with a quote ' and end with a quote and a comma, like this ',
A correct line would look like this:
Code: Select all
'Any single quotes such as \' must be escaped with a backslash',
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Random Script Test
Thank you I will check my typing. Meanwhile, can I use the external files and still post multi-line quotes?
Re: Random Script Test
You can, just add <br /> where you want a line break. For example:
First line<br />Second line<br />Third line
First line<br />Second line<br />Third line
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Random Script Test
Klemen wrote:You can, just add <br /> where you want a line break. For example:
First line<br />Second line<br />Third line
Thanks, I'll try both!