Current Page: 1 of 1
Results 1 - 4 of 4
14 years ago
sharmel
Hi, can anyone help me with this codes? I would like to print different text from different browser using ereg() or preg_match() function. I have tried like this but doesnt work: <?php $moz = $_SERVER['HTTP_USER_AGENT']; if(ereg("mozila firefox",$moz)) { echo "this is mozila"; } else { echo " this is MSIE"; } ?>
Forum: WampServer English
14 years ago
sharmel
my wamp icon shows white completely. it is working for my codes that are without mysql
Forum: WampServer English
14 years ago
sharmel
I have tried this code and it still not work: <?php $con = mysql_connect("localhost",´root´,"" if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?> </body> </html>
Forum: WampServer English
14 years ago
sharmel
Hi, I am a new user of wampserver(2months), i have been using wamp server for my php scripts and it has been running very well. But i wanted to start with database, so i tried to check if mysql connection is active but i dont know the localhost,username and password. Pls. how can i get the(LOCALHOST,USERNAME,PASSWORD)? Thanx
Forum: WampServer English
Current Page: 1 of 1