User Profile

Collapse

Profile Sidebar

Collapse
jonndoe45
jonndoe45
Last Activity: Oct 16 '06, 10:52 AM
Joined: Oct 14 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Use http://127.0.0.1/index.php as localhost is specific to your machine, have the "same setup" where i have a laptop and a dev server.

    Also in your appache httpd.conf file you will need to grant access to your webservers document root to other users, e.g

    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "X:/blah">

    #
    # Possible...
    See more | Go to post

    Leave a comment:


  • jonndoe45
    replied to Newbie having trouble finding the good loop
    in PHP
    Not sure which fields this applies to as you you have specified the field names in your code - and my french is non-existent, so here goes:

    Here is your existing code:

    $query_eleveurs = "SELECT * FROM membres_aacas WHERE Region='$region ' AND Publication='Ou i' ORDER BY Affixe";
    $result_eleveur s = mysql_query($qu ery_eleveurs);
    while( $eleveurs = mysql_fetch_arr ay($result_elev eurs) ){...
    See more | Go to post

    Leave a comment:


  • jonndoe45
    started a topic PHP/MYSQLI Persistent connections
    in PHP

    PHP/MYSQLI Persistent connections

    Hi,

    Am using PHP-CGO, MYSQL and am having to connect to the MYSQL server every time that a query is run.

    I wrote this connection function (below) in a vain attempt to try and limit the number of connections, but doesn't seem to help.

    I know you can't store the connection resource in a session var as resources cant be stored in session vars.

    Does anyone have any ideas ? code ? tricks or...
    See more | Go to post
No activity results to display
Show More
Working...