post_session.php
<?phpsession_start();foreach ($_POST as $index=>$value) $_SESSION[$index]=$value;?>
Sorry nobody has helped you yet. Have you solved your problem? Let me
know where you're at and I'll try to help you.
-- Sean
--To view this discussion on the web visit https://groups.google.com/d/msg/iphonewebdev/-/2qkdxd-jDCgJ.
You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
To post to this group, send email to iphone...@googlegroups.com.
To unsubscribe from this group, send email to iphonewebdev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
To unsubscribe from this group, send email to iphonewebdev+unsubscribe@googlegroups.com.
Hi Remi,
Thx for your answer.
There is one main difference with what I want to achieve. How would you change your form.php so that if all is Ok, it directly returns to #index without needing any click?
Small question: is the href really needed in <a href="#" type="submit" class="whiteButton">Submit form</a> ?
To view this discussion on the web visit https://groups.google.com/d/msg/iphonewebdev/-/iijRTKoJjUgJ.
To post to this group, send email to iphone...@googlegroups.com.
To unsubscribe from this group, send email to iphonewebdev...@googlegroups.com.
<?phpsession_start();foreach ($_POST as $index=>$value) { $_SESSION[$index]=$value; };$xx=date("hms");?><div id='<?php echo $xx; ?>'><script type="application/x-javascript" id='<?php echo $xx; ?>'>iui.showPageById('etatVehicule');</script></div>
<div id="preloader"></div><div selected="true" style="left: 0%;" id="100300"> <script type="application/x-javascript"> iui.showPageById('etatVehicule'); </script> </div></body></html>
(Rendering by Web Developer in Firefox, Chrome gives a cosmetically different code)
Another track I had considered, but where I have failed,would be that instead of simply submitting the form thru a action="xxx.php"
(which would include the javascript backgoing) I would include the javascript backgoing code in the action itself, with something
like action="javascript:form.submit();iui.showPageById('etatVehicule');" but I probably missed something. What would you suggest?