[PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-05 Thread Mary Anderson
get_query_forms.php. Instead it calls up the url query_form_display_data.php, which is the url for the first submit button on the page. Any clues to clear up this mystery would be greatly appreciated! Mary Anderson

[PHP] Cleaning up automatically when leaving a page

2009-06-30 Thread Mary Anderson
Hi all, I have a php application for which I have a page which creates temporary junk and puts it into a persistent store (in this case a postgres database, but that is beside the point.) I have a Save button which puts the stuff I really want into the persistent store and cleans up

[PHP] SESSION values show up days later!

2009-03-27 Thread Mary Anderson
Hi all, I use session variables to store values from one page to another on my website. Alas, sometimes, but not always, the values persist from one invocation of the script to another! Just how, exactly, do I make them go away when a user exits the program? I assume my users will not

[PHP] Still need help with some kind of memory leak in my php database program. General hints for php would help

2008-05-25 Thread Mary Anderson
variables freed? 7. Why would it sometimes work to clear the cache? This problem seems to me to be an intermittent one. 8. Most important, what good programming practices should I be following to keep this from happening? Mary Anderson -- PHP General Mailing List (http

[PHP] Loading 2M array crashes program .. but only some of the time

2008-05-18 Thread Mary Anderson
Hi all, I have a php - postgresql program which bombs with a statement that it has run out of memory. I am running php 5.1.6 and postgres 8.3.something. My program bombs, saying that it fails to allocate memory, when it is loading an SQL query result into a php array using pg_fetch_all.

[PHP] new lines in textareas?

2008-03-29 Thread Mary Anderson
htmlspecialchars , but don't know what special character to feed it. Apologies if this should go to an HTML forum. I checked several archives and did not find anything useful. (They tended to tell me to put in \n or br!) Thanks Mary Anderson -- PHP General Mailing List (http://www.php.net

[PHP] PHP code to write excel spreadsheet with multiple workbooks

2008-03-28 Thread Mary Anderson
Hi all, I have a linux based web app which prints an html screen of results. My users really want Excel spreadsheets with the same results. There is a PEAR application which does this, but from the PEAR description it seems to be pretty buggy (65 open bugs, average days open 616 days)

[PHP] RE: temprorary error

2008-02-24 Thread Mary Anderson
Hey guys, Isn't this thread a bit OT? Anyway, as areligious person I have to say that I really do not like to hear religions trashed and smeared the way you are doing. And just for the record, we Quakers do not believe God tells us to kill people and we have no priests. Mary

[PHP] PHP debugger recommendations, anyone?

2008-02-09 Thread Mary Anderson
with it. 2.0.2 is, I believe, the latest release. Mary Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] passing _GET values to _POST

2008-01-07 Thread Mary Anderson
it through. Mary Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] why is option '97' selectedJapan/option not highlighted

2007-12-30 Thread Mary Anderson
in my select scrolling list? Here is the offending code (abbreviated) select name=sr_location_id class= size=10 option value='94' Italy/option option value='97' selectedJapan/option option value='252' Jersey/option option value='294' Jiangsu/option option value='295' Jiangxi/option I have data

[PHP] How to pass selected options to .php file when two scrolling lists appear at different times on page

2007-12-26 Thread Mary Anderson
= do_select_and_format_many($pg, $select_options_cmd); foreach ($id_colon_displays as $id_colon_display){ echo_option_tag($id_colon_display, $default_ids); } echo /select; } Thanks! Mary Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re:how to pass selected options to... Ignore last letter. Program works

2007-12-26 Thread Mary Anderson
Hi all, Knew I should have tried it one more time before firing off the last letter. The page is now working properly. Apologies and thanks mary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php code compiles, produces good html output, but crashes when put through browser

2007-12-15 Thread Mary Anderson
not improve the situation. I need some basic debugging tools that I don't have to figure out what is going on. Alas, I think this code would hang before it got to the debugger! Any advice is appreciated. At this point I am clueless. Mary Anderson -- PHP General Mailing List (http://www.php.net