Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder ajetrumpet's Avatar
    Join Date
    Jul 2009
    Location
    Iowa City, IA
    Posts
    407
    Thanks
    44
    Thanked 5 Times in 5 Posts

    efficient methods of executing multiple queries

    all,

    in a lot of my scripts, I have to reassign values to variables like:

    • $query
    • $i
    • $result
    • $numrows


    so it is not uncommon for one of my scripts to query the db using those vars, run a block of code for PHP output or HTML output and then do it again 3 more times. Right now I'm still in the phase of processing one task at a time in my mind because I only know bits and pieces of PHP tools (syntax, etc...).

    can any of your guys suggest what the next step in my learning process might be? In general, is there anything I can do to improve that "one thing, then the next, etc..." strategy I'm using now?

    Appreciate any replies. Thanks!

  • #2
    Regular Coder poyzn's Avatar
    Join Date
    Nov 2010
    Posts
    266
    Thanks
    2
    Thanked 61 Times in 61 Posts
    learn how to use functions, then objects, then patterns, maybe couple of frameworks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •