Jump to content

Syntax question?


Solarpitch

Recommended Posts

Hey,

 

I've been messing around with this for a bit now but cant figure it out. Basically I am trying to add a "," after every number in the array so I can clearly see the numbers when printed to screen. This is what I was trying which is wrong ...

 


<?php

for ($i=0; $i<16; $i++)
{	
     $value1[$i].",". = random_num(1);
}

?>


Link to comment
https://forums.phpfreaks.com/topic/93483-syntax-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.