[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 the

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

2010-02-05 Thread Mary Anderson
up the url 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! Mar

[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] php code compiles, produces good html output, but crashes when put through browser

2007-12-15 Thread Mary Anderson
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

[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
_cmd, $default_ids){ echo_scrolling_list_tag($name, $class, $label, $size, $multiple_OK); $id_colon_displays = 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 ""; } Thanks! Mary Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] why is Japan not highlighted

2007-12-30 Thread Mary Anderson
in my scrolling list? Here is the offending code (abbreviated) Italy Japan Jersey Jiangsu Jiangxi I have data series which have a location specified. I wish to edit the data series. I select the location from the database (Note: database stuff is not a problem) and display a scrolling list

[PHP] passing _GET values to _POST

2008-01-07 Thread Mary Anderson
e_id=74 I am going to attach the php code and hope it makes it through. Mary Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] 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.

[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) and

[PHP] new lines in textareas?

2008-03-29 Thread Mary Anderson
the text. I suspect I need to use 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 !) Thanks Mary Anderson -- PHP

[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] 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
e used by function 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 Gen