Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: zombee
  • Order by date
  1. zombee

    Can a MYSQL Resultset Be Passed as a PHP Parameter?

    Including" is a great idea. But please tell me this: Would an ajax call, using a second PHP script, cause the loss of the included variable's contents?
  2. zombee

    How do I access a Mysql resource from another PHP file?

    The scenario is like this: The 1st php file allows the user to query a table based on some criteria, eg "Let's see who I haven't called in the last 3 weeks." He then inspects the 1st 20 records, as well the count of the entire resultset. If that's the resultset he wants to now process, he...
  3. zombee

    Can a MYSQL Resultset Be Passed as a PHP Parameter?

    vacunita - Your solution doesn't quite fit my paradigm in that the php file that does the query - does only that. The NEXT php file processes this resultset record by record. Can I overcome the php overhead you speak of by using a reference to the resultset? A reference, after all, does...
  4. zombee

    Can a MYSQL Resultset Be Passed as a PHP Parameter?

    I posted this question a little differently in the PHP forum, under the title "How do I access a Mysql resource from another PHP file?", if you'd kindly take a look there. I'd be interested to know if vacunita's proposed solution would suit me (and if yes, to be a little more specific).
  5. zombee

    How do I access a Mysql resource from another PHP file?

    This probably has to do with the issue of scope or global variables, or perhaps it's an issue of a pointer to a resource. I have this Mysql result set I queried, for which I need to fetch a row one by one. The fetch, however, is done from another PHP file, one that javascript calls via ajax...
  6. zombee

    Can a MYSQL Resultset Be Passed as a PHP Parameter?

    Struggling to pass a resultset gotten via PHP code $resultset = mysql_query($q); as a parameter to the next php file, to be read by something like $parm = $_POST['resultset']; to here begin fetching each row. Is this a Mysql restriction or my ignorance of good PHP code? If the latter, would...
  7. zombee

    How to capture a pop-up window's SELECTed VALUE?

    Dan - you're misunderstanding me. I'll deal with the database issue later, using ajax as I use it elsewhere in my code. For now, I need to know how to capture the SELECT value from the HTML picklist that pops up in the javascripted child window. (See code in thread's opener). That's my whole...
  8. zombee

    How to capture a pop-up window's SELECTed VALUE?

    How would you tackle this circumstance? Suppose a person, who checks his caller-id, dials me back sometime after I called him. Then he asks me to remove him from my list. I now need to retrieve this person's id from a list of already-called people, to go ahead and delete this guy's records...
  9. zombee

    How to capture a pop-up window's SELECTed VALUE?

    My HTML markup contains a div with an id of "buttons". Within the div is a button defined as: <input type='button' id='seeHistory' value='See History'> This button's event handler that looks like this: case "See History": document.getElementById("buttons").style.display = 'none'; //Remove...
  10. zombee

    Why does my pop up window not wait for a close?

    Thanks Dan - You're right. I'll start a new thread, correctly.
  11. zombee

    Why does my pop up window not wait for a close?

    I think I'm wasting your time because I'm confused. I use javascript to store values in an array during the user session. I need to display these data at some point for the user to pick one of them. It's only then that I need to access the server. So going the ajax route to present the user with...
  12. zombee

    Why does my pop up window not wait for a close?

    My original intention was to hide from view some buttons on my parent window,then pop-up a new, child window, then redisplay the parent's buttons. But I had problems with the code that came AFTER I gave focus to the child window. The parent window buttons should have redisplayed AFTER the...
  13. zombee

    Please Help!

    Also found this for you to look into, at codebellyDOTcom: " Closing windows that are comprised of a frameset requires that you ask to close the "topmost" window, *not* the page that contains the JavaScript closing code. Thus, where window.close() will work fine with a regular page, it will...
  14. zombee

    Please Help!

    Have you looked into setInterval and clearInterval yet?
  15. zombee

    Why does my pop up window not wait for a close?

    To clarify - I need to open a window to display some historical data I've captured during a browser session. I want to create a button for the user to view this data. The button, "View Data Captured", then will open this new window, to allow the user to view the data. The problem I'm having...
  16. zombee

    Why does my pop up window not wait for a close?

    But something just doesn't figure. Why would javascript give me the ability to pop open a new screen, yet disable me from using it?
  17. zombee

    Why does my pop up window not wait for a close?

    I've got a button, when clicked, will show a pop-up screen. Get to this window via var w=window.open ("","newW","height=260,width=350, status=0"); Just to first keep it simple, this new window contains only 1 button var d = w.document; d.write('<FORM>'); d.write('<INPUT TYPE="submit" VALUE =...
  18. zombee

    What's this &quot;Toast it&quot; menu item?

    How do I remove from my menu, when I Ctrl/Apple, theoption called, "Toast it"? Long ago I had removed from my system a video package called Toast. Which is what I think the option refers to.

Part and Inventory Search

Back
Top