It has to support PHP and Mysql though. I did post a similar question earlier but it did not include PHP and Mysql.
Thanks
its connecting to the database all fine- but its not displaying anything in the database is there something wrong:
my fields are Id- and content
$query = "SELECT Id- content FROM main_page ORDER BY Id";
$result = mysql_query($query) or die( Error : . mysql_error());
while($row = mysql_fetch_array($result- MYSQL_NUM))
{
list($Id- $title) = $row;
$content .= "<li><a href=\"$self?Id=$Id\">$title</a></li>\r\n";
}
<?php
database connection coding:
$username = "root";
$password = "";
$hostname = "localhost";
$con = mysql_connect($hostname-$username-$password) or die ("Unable to connect");
$dbname = banknorth ;
mysql_select_db($dbname);
?>
help!! haha i dont have an error to go by its just not displaying anything
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax
I want to develop an interactive website. Please let me know which language should I choose?
The server is responding to ping. But- I am seeing the http and mysql services down on outside monitoring (nagios). The last couple lines on the console say:
free swap: 0kb
total swap:491512kb
I m wanting to know what I should do besides resetting the server. Thanks.
hi...i configured IIS to work with php and it works fine...but some scripts in apache (wamp) didnt give any error..are now showing errors in the new configuration..and when i use the function mysql_connect it says : undefined function...i used this tutorial to setup php with IIS :
http://news.softpedia.com/news/How-to-install-PHP-on-IIS-63075.shtml
thanks alot...
No comments:
Post a Comment