Search found 6 matches
- Tue Jan 19, 2016 7:19 am
- Forum: Scripting Languages
- Topic: php whitelist for admin and member
- Replies: 0
- Views: 10115
php whitelist for admin and member
Hello, I have made in php a administration system. I have two different accounts: admin and member. With the admin account you can edit data and the member account not. But I have a whitelist for this. The admin and users can look on different pages. But this doesn't work. I place a include whitelis...
- Wed Oct 21, 2015 6:15 am
- Forum: Scripting Languages
- Topic: how do I write echo img?
- Replies: 1
- Views: 3243
how do I write echo img?
Hello, I have a php script. The meaning is when you see three of the same images you see a echo you win. But how can I write the echo img of the three variables? can someone help me? thanks in advance. my code is: function jackpot(){ $a=array("1.jpg", "2.jpg", "3.jpg"); $cur_rndNumA=mt_rand(0,count(...
- Wed Oct 14, 2015 8:34 am
- Forum: Scripting Languages
- Topic: set background color doesn't work
- Replies: 0
- Views: 9949
set background color doesn't work
Hello, I have made code. The meaning is if you click on the color in the <option> then the background color change. But this doesn't work. Can someone help me? thanks in advance. <?php $red = ""; $yellow = ""; $blue = ""; $orange = ""; $purple = ""; if (isset($_POST['color'])) {$color = $_POST['colo...
- Mon Oct 12, 2015 1:30 pm
- Forum: Scripting Languages
- Topic: random string
- Replies: 1
- Views: 3486
random string
Hello, I have make a random string with a array. The letters A, B and C are in a array. The letters must be see random in the browser, all three next to each other. But this doesn't work. Now the letters ABC are static in the browser and not random if you refresh the page. Can someone help me? How c...
- Tue Oct 06, 2015 12:11 pm
- Forum: Scripting Languages
- Topic: How to make dynamic table in php?
- Replies: 0
- Views: 9817
How to make dynamic table in php?
Hello,
I have a question, I want to have a dynamic table in php. The number of rows and columns in the table should be easy to adjust.
I want to make a variable of the rows and columns.
How can I make this? Is here a tutorial about?
thanks in advance.
I have a question, I want to have a dynamic table in php. The number of rows and columns in the table should be easy to adjust.
I want to make a variable of the rows and columns.
How can I make this? Is here a tutorial about?
thanks in advance.
- Mon Oct 05, 2015 8:18 am
- Forum: Scripting Languages
- Topic: mt_rand doesn't work
- Replies: 2
- Views: 4045
mt_rand doesn't work
Hello, I have written a function in php. If you refresh the page you see a another image, but this doesn't work. Now I see the 4 images in the browser, next to each other. But I want to see 1 image and if I refresh the page you see a random other image. Can someone help me what is wrong, why didn't ...