Jump to content

Recommended Posts

Hello from Maine!

 

I am trying to create a sign that will have the numbers 1-200,000 typed out with spaces in between and found an answer using php that had me plugging this in:

 

<?php

$lowestnum = 1;

$highestnum = 200000;

 

for($i=$lowestnum; $i<=$highestnum; $i++){

echo "$i, ";

}

?>

 

I wouldn't be surprised if it was my own incompetence getting in the way, but I am having a tough time making this happen.

 

Any help? Besides my eternal gratitude I could send a funny video of one of my friends wiping out while covering a news story as thanks.

 

 

Link to comment
https://forums.phpfreaks.com/topic/117726-php-integer-question/
Share on other sites

wow, thanks for the quick responses -

 

i am a true neophyte when it comes to all this, (my training wheels still have visible tread)

 

is there any way to walk me through this? i realize you didn't wake up this morning wondering how you could help a complete stranger, so anything would be very much appreciated

 

thanks again

Link to comment
https://forums.phpfreaks.com/topic/117726-php-integer-question/#findComment-605528
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.