No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Pls can some one help? i need a complete php code on how an employee can submit his passport and the passport will display on his profile whenever the profile is accessed. |
|
Re:
I am just trying a simple code which executes on a form submission ( self). It runs perfect in local. But shows "Error: No database selected" in the remote server. Can anyone say why ? Thank you [CODE]<?PHP $con = mysql_connect("localhost","aby","pass123"); if (!$con) { die('Could not connect: ' . mysql_error()); … |
|
Re:
Hey , I'm having trouble showing data from my data base in php. i always get the " No database selected " line and also i was wondering why the second echo doesn't show the result is : first echo No database selected this is my code [code] <?php require($_server["DOCUMENT_ROOT"]."/config/db_config.php"); … |