ye sure...
<?php - #login.php
ob_start(); //Start output buffering
$page_title = "Login"
if (isset($_POST['submit'])) {
$username="";
$password="";
$database="";
$connection = mysql_connect("",$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
//create function for escaping data.
function escape_data($data {
global $dbc; //Need the connection
if (ini_get('magic_quotes_gpc')) {
$data = stripslashes($data);
}
return mysql_real_escape_string($data, $dbc);
} //end of function
hope this shows abit more..Thanks 🙂