//-------------------------------------------------------------//
//Common Variables - Need to be changed to use on a different server
$qapage = "http://www.natural-stone.com/stonetips.htm";
$database = "v3033";
$tablename = "stonetips";
$sqlusername = "v3033";
$sqlpassword = "he5sus";
$numberperpage = 40;
$sortmethod = "desc";
//--- Question Customization -- //
$queshdrtext = "QUESTION";
$queshdrbgcolor = "#BBB2D6";
$queshdrtxtcolor = "#9F399F";
$quesbodybgcolor = "#008FE0";
$questxtcolor = "#000000";
$quesdaterowbgcolor = "#008FE0";
$quesdaterowtxtcolor = "#000000";
//--- Answer Customization -- //
$anshdrtext = "ANSWER";
$anshdrbgcolor = "#BBB2D6";
$anshdrtxtcolor = "#9F399F";
$ansbodybgcolor = "#ccffff";
$anstxtcolor = "#000000";
$ansdaterowbgcolor = "#008FE0";
$ansdaterowtxtcolor = "#000000";
//--- Post Question Customization -- //
$posthdrbgcolor = "#BBB2D6";
$posthdrtxtcolor = "#9F399F";
$posttext = "POST A QUESTION";
$postbodybgcolor = "#008FE0";
//--- Search Customization -- //
$srchhdrbgcolor = "#BBB2D6";
$srchhdrtxtcolor = "#9F399F";
$searchtext = "SEARCH FOR A QUESTION";
$srchbodybgcolor = "#008FE0";
$foundcolor = "FF0000";
//-------------------------------------------------------------//
//Do not modify anything past this line
if($save == 1) {
if($name == "" || $question == "") {
header("Location: $qapage");
} else {
$link = mysql_connect("localhost", $sqlusername, $sqlpassword);
$result = mysql_db_query($database,"insert into $tablename values('','$name',UNIX_TIMESTAMP(),'$question','','')");
header("Location: $qapage");
}
}
?>
Natural-stone.com Home Page
The
2 most visited stone web sites in the world:
The
Focus of this section is to assist in providing technical
answers relating to stone maintenance and installation questions.
Please
do not use this forum to locate materials or sell your product.
Please
review archive messages before posting: You can find your
answer more quickly if you search through the archived messages.
Questions
already answered will be deleted.
Please
note that Stone Care restoration may require expertise best
suited for industry professionals. We are unable to qualify
each questioner and assume no responsibility for the comments
made and subsequent results.
General Stone Information:
The
most visited stone site in the world.
©
1994-2002 natural-stone.com, All rights reserved.
Please read the terms of use for more information.
Optimized for 800x600