No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Re: Well, i think this is what you need. [CODE=php]<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <input type="checkbox" name="q1[]" value="a" />value1<br> <input type="checkbox" name="q1[]" value="b" />value2<br> <input type="checkbox" name="q1[]" value="c" />value3<br> <input type="submit" value = "submit" /> </form>[/CODE] And then, you use something like : [code=php] $variable = $_POST['q1'];[/code] or you define … | |
Re: Hello sainigks. Well, you can do this with sessions. You can try [code=php]</php $_SESSION['page_reload'] = $_SESSION['page_reload'] + 1; echo $_SESSION['page_reload']; ?> [/code]. You will see that pageloads will increase. After that, you will update your row in your database. Something like [code]UPDATE <table_name> SET loads= <value from session> WHERE page_id=<$_GET['page_id']>.[/code] … | |
Re: In index.php file, on line 14, you should put something like that [code=php]echo $_SESSION['nome_aluno'][/code]. So, if the user is logged, it will show his name. | |
Hello. I am trying to fix this for about 10 hours and i can't do it. I got a template from web and trying to make it dynamic. Somehow, i did something till now.. It get images from a database. Each picture is kind of a gallery and is somewhat … | |
Hello. I have a small problem. I am working on a small website where people will be able to take quizzes for driving lessons. I take my questions and answers from a database. The problem is that i get the first questions and after i submit the answers, the next … |
The End.