Thread: php sessions
View Single Post
Old 11-18-2012, 12:42 PM   PM User | #2
minder
Banned

 
Join Date: Oct 2012
Posts: 81
Thanks: 0
Thanked 4 Times in 4 Posts
minder can only hope to improve
yep your right. this can be done with sessions. do you no how to use sessions in php?

also just a quick tip. if you wanna send an array of values from a form, give the elements the same name suffixed with []

Code:
Heltal: <input type="text" name="tal[]" />
Heltal: <input type="text" name="tal[]" />
and then in your php
PHP Code:
foreach($_POST['tal'] as $val){

    
//do something with each $val here


minder is offline   Reply With Quote