| | |
connectivity problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2007
Posts: 78
Reputation:
Solved Threads: 5
hi friends....
i m new to php....
i have installed apachie 2.0,php 5.2,mysql5.1...
everything is going welll....
bt dere is problem using d following code,,
i hv save it in the htdocs folder under apachie...filename is test.php
bt when i run it nothing is displayed...
wats going on pls solve my problem....
i m new to php....
i have installed apachie 2.0,php 5.2,mysql5.1...
everything is going welll....
bt dere is problem using d following code,,
php Syntax (Toggle Plain Text)
<php mysql_connect("localhost", "root", "mars11") or die(mysql_error()); echo "Connected to MySQL<br />"; </php>
i hv save it in the htdocs folder under apachie...filename is test.php
bt when i run it nothing is displayed...
wats going on pls solve my problem....
Last edited by peter_budo; Dec 29th, 2008 at 5:49 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: Oct 2007
Posts: 78
Reputation:
Solved Threads: 5
yes... php,apachie and mysql are configured correctly...
yes scripts are running.............
everything is going well..
i hv also tried
<?php
>?
bt again d proble is same while running dis script.
wat should i do???
yes scripts are running.............
everything is going well..
i hv also tried
<?php
>?
bt again d proble is same while running dis script.
php Syntax (Toggle Plain Text)
<?php mysql_connect("localhost", "root", "mars11") or die(mysql_error()); echo "Connected to MySQL<br />"; >?
wat should i do???
Last edited by peter_budo; Dec 29th, 2008 at 5:50 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- Limited or no connectivity problem with linksys and comcast (Networking Hardware Configuration)
- Wierd internet connectivity problem- Random sites have become inaccessible (Networking Hardware Configuration)
- XFX mobo -> cd drive connectivity problem (Motherboards, CPUs and RAM)
Other Threads in the PHP Forum
- Previous Thread: Replace a space with an underscore SOLVED
- Next Thread: sql query into textarea
| Thread Tools | Search this Thread |
.htaccess access alexa apache api array autocomplete beginner broken cakephp class cms code convert cron curl database dataentry date directory display dropdown duplicates dynamic email emptydisplayvalue encode error execute explodefunction fairness file firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include indentedsubcategory ip javascript joomla keywords limit link login mail menu methods multiple multipletables mysql network newsletters object oop passwords paypal pdf php provider query radio random recursive redirect remote script search secure securephp server sessions shot simple source space sql subscription system table tutorial tutorials upload url user validator variable video voteup web youtube





