Last Update : 2023-09-22 UTC 12:21:02 PM
on debugging i found out that its the DB w3coded local 2 connectivity that is creating problem. the DB w3coded local 2 was on another machine. to debug further. i w3coded local 2 deployed the DB on my local machine .. so now w3coded local 2 the DB connection is at 127.0.0.1 but the w3coded local 2 connectivity still takes long time.,i installed w3coded local 2 another APACHE on my machine and used default w3coded local 2 settings. the connection was still very w3coded local 2 slow.,the page rendering takes around 10 seconds w3coded local 2 but the last statement on the page is an echo w3coded local 2 and i can see its output while the page is w3coded local 2 loading in firefox (IE is same). in google w3coded local 2 chrome the output becomes visible only when the w3coded local 2 loading finishes. loading time is approximately w3coded local 2 the same across browsers., w3coded local 2 By clicking “Accept all cookies”, you w3coded local 2 agree Stack Exchange can store cookies on your w3coded local 2 device and disclose information in accordance w3coded local 2 with our Cookie Policy.
Simply change:
$link = mysqli_connect('localhost','username','password','db');
to:
$link = mysqli_connect('127.0.0.1','username','password','db');
Last Update : 2023-09-22 UTC 13:44:38 PM
Last Update : 2023-09-22 UTC 13:44:20 PM
Last Update : 2023-09-22 UTC 13:44:00 PM
Last Update : 2023-09-22 UTC 13:43:55 PM
Last Update : 2023-09-22 UTC 13:43:39 PM
Last Update : 2023-09-22 UTC 13:42:49 PM
Last Update : 2023-09-22 UTC 13:42:38 PM