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...
User Profile
Collapse
-
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) ){...Leave a comment:
-
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...
No activity results to display
Show More
Leave a comment: