Add height Code to this PHP code?
-
Hi,
I’m new to code, so I have a question to see if a code I have can be altered.
This code is working perfectly for me, but I would like to incorporate one more piece to it, which I will explain below:
<?php $file = "/home/public_html/path/to/random-quotes.txt"; $quote = file($file); echo $quote[array_rand($quote)]; ?>
Is there a way to take that code and somehow add that I always want it to be at least 275px in height regardless of how short/long the quote actually is?
Thanks in advance for your assistance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add height Code to this PHP code?’ is closed to new replies.