Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

Other video games, TV shows, movies, general chit-chat...this is an all-purpose off-topic board where you can talk about anything that doesn't have its own dedicated section.
Post a reply

Anyone wanna help me on building a PHP site?

Thu Nov 02, 2006 4:35 am

Hi i need help on building a Website anyone who knows PHP can contact me thanks...

Thu Nov 02, 2006 9:48 pm

You'll have a hard time finding help without stating what kind of site it is and whats your motivation for doing it. Mean time you're better off googling some tutorials.

Fri Nov 03, 2006 12:37 pm

Ok I have scripts for a League I did this scripts simply on the Tutorials and some help with my E-Books but still their are some errors going on on the Scripts when I try to run it. The Scripts is a PHP script.

The Problem I think of the Scripts I have is it cannot connect on the Database.
Here is the Codes I did. but I didnt include the DB pasword and DB Username etc..

If anyone can tell me what to do to connect it to the Database?
-----------------------------------------------------------------------------------------------

Code:
<?
   include('config.php');
   include('mysql.php');
   include('inc_search.php');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE>Player Search</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<LINK href="nball.css" type=text/css rel=stylesheet>
<SCRIPT src="nball.js" type=text/javascript></SCRIPT>
</head>
<body id="viewPlayer">
<div id="mainbox">
<div id="topheading">Player Search</div>
<div id="blackspacer"><center><img src=logo.gif></img></center><br>
<div id="box"><? include("menu.php"); ?>
</div></div>
<div id="contentbox">

<?

   createSearchBox($HTTP_POST_VARS);
   if ($submit == 1) {
      $sql = createSQL($HTTP_POST_VARS);
      $db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false);
      $result = $db->sql_query($sql);
      $row = $db->sql_fetchrowset($result);
      createTeamLineup($row);
   }



?>

</div><!-- div:contentbox-->
</div><!-- div:box -->
<? include('footer.php'); ?>
</body>
</html>

Sat Nov 04, 2006 4:24 pm

yeah, i`m gonna help u, since i`m such a nice dude!....really i`m gonna help u!
Post a reply