Plus I've just noticed I have test addresses all over the site. As an update, Firefox [inc Flock] would demonstrate the problem if I hadn't inserted the following in the header file earlier this morning:
<?php
header("Cache-Control: no-cache");
header("Expires: -1");
?>
I've read that the...
Hi Feherke
I'd rather not post my url on the board yet. Can I send you a link personally and then we'll discuss and post the solution in this thread?
Steve
Hi all
I don't quite understand why my session variables are being dropped. Here's the problem:
I submit a form using the submit button and create session variables of the values to allow them to be carried to other pages. All's fine.
If I now move back and forward between the form and form...
Many thanks for the replies.
Feherke, your json solution works perfectly. I'll next try integrating the js array into functions to carry out the calculations when the page loads and onclick.
When the form is submitted, I'd planned that php should pass only the quantity values as session...
Hi
The image upload obviously failed badly..d'oh..so I've uploaded an annotated screenshot to flickr here
http://www.flickr.com/photos/42701953@N00/3249829311/
The php array that I'm working with is below. I've underlined an example of the product code and highlighted in bold how each...
Hi all
I'd be really grateful if someone could tell me the correct method for dealing with the following problem. See attached mock-up of my site's order table.
The user is allowed to change the quantity of items (input fields in the green box) to select which suppliers to order from, and based...
Hi all
I've a problem with my XP installation. When I select a user from the welcome screen, it attempts to log on then instantly logs off and back to the welcome screen. Safe mode, safe mode with networking and safe mode with command prompt all reload the installation and return it to the...
Thanks jpadie, this works perfectly. Exactly what I needed. Fingers crossed that the decode is as good. : )
If anybody needs some background reading the link below is a good starter to what json is and what the encode/decode is doing: http://www.json.org/
Thanks again, Steve
Hi, Thanks for your replies. Yes, I was directed here from the javascript forum. Just been doing some housekeeping to tidy the array up hence my slow response. A quick print_r is below. Is it really as simple as using json_encode to get this into javascript? (go on, say that it is)
Array (
[0]...
Hi all
I've been stumped over this for days and days now. I have an array in php that I want to perform calculations on via the user clicking radio buttons in a table. The results should be shown instantly on the page. The radio buttons have several values associated with them (in the php array)...
Hi all
I've been stumped over this for days and days now. I have an array in php that I want to perform calculations on via the user clicking radio buttons in a table. The results should be shown instantly on the page. The radio buttons have several values associated with them (in the php array)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.