Need to access a pinnaclecart database (mySQL) from outside (don't ask).
This:
Gets me a connection, but the error:
Can't select: foolme
sure its something basic, but its always just worked for me...
BTW: Rick, here's a great marketing idea for Miva Merchant. Give everyone a free copy of Pinnacle...has got the be the worst cart i've ever seen.
This:
Code:
<?php /** * Testing */ $database = 'foolme'; Print "Hey there handsome"; $con = mysql_connect("127.0.0.1","fool_user","t3st_th1s"); if (!$con) { die('Could not connect: ' . mysql_error()); } echo '1) '. $con; echo '<br>'; if (!mysql_select_db($database)) die("Can't select $database"); mysql_close($con); ?>
Can't select: foolme
sure its something basic, but its always just worked for me...
BTW: Rick, here's a great marketing idea for Miva Merchant. Give everyone a free copy of Pinnacle...has got the be the worst cart i've ever seen.
Comment