-
Content Count
36 -
Joined
-
Last visited
Awards
This user doesn't have any awards
About xampi
-
Title
Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I can't do it with any array. It's an exercice from school.
-
Look I have something more elaborated that doesn't work. I hope it helps you understand what i'm trying to get: // $numbers = ''; // for($i=0;$i<=9;$i++){ // $rannumberi= ''; // $rannumber.= mt_rand(1, 10); // // if(strstr($numbers, $rannumber) == FALSE) { // print($numbers).'<br>'; // $numbers.= $rannumber; // // }else{ // // $i = $i - 1; // // } // }
-
The thing is that I want numbers from 1 to 10 randomly generated with no repetitions. I need them to be random, not from 1 to 10 thanks to $i but thanks for the help!
-
Hi guys, I want to create a STRING that contains numbers from 1 to 10 without repetition. How can I do that? (This is what I have) (I'm very newbie in programming). <?php for($i=0;$i<=9;$i++){ $rannumber=''; $rannumber.= mt_rand(1, 10); print($rannumberi); } ?>
-
Thanks for the help guys. It was as easy as closing the 'tr' and open it back again after a counter of 10. Here the solution: <?php echo "<table>"; echo "<tr>"; for($i=0;$i<=99;$i++){ $counter = 0; if(($i % 10) == 0){ echo "</tr><tr>"; } for($j=1;$j<=$i;$j++){ if($i % $j== 0){ $counter++;
-
Is there a way to do it using just loops, variables and IF's?
-
Ty for helping @minibois! Sadly it still echo's like this. Here an example I would like to output:
-
So I want to create a table with php and html that outputs a 10x10 table with numbers from 0 to 99 and differentiating prime numbers: The problem is that every time it checks prime numbers from 0 to 99 it prints it in every '<tr>'. Ty in advance for the help! <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body> <?php echo "<table>"; for($i=0; $i < 10; $i++){ echo "<tr>"; for($x=0; $x &l
-
xampi changed their profile photo
-
Hi guys, I've been looking the specs of 'Gigabyte AORUS FI27Q' and i saw that it has a response time of 1ms (MPRT). Which kinda is the ghosting transition time. This monitor actual response time is 4ms if i'm not mistaken. My question is: Does this monitor comunicate with the graphics card with a delay of 4ms or 1ms? If it's 4ms will i notice the differance by coming from a 1ms one? Thanks for the help in advance and sorry for my english!
-
Thanks for the help!
-
But would this work on a 8/9 gen mobo?
-
Hi guys, recently my i7 broke and I won't get the replacement until a month. Can you guys tell me the cheapest processor that works with Aorus Z390 ELITE please. Thanks in advance!