I want to generate a valid number between 200 and 450. Here is my snippet of code.
Math.floor(Math.random() * 450) + 200
Sometimetimes its 568 or any number not in the range i would want it to be. Can anybode give me a hint how to solve it please?
I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...
No comments:
Post a Comment