Post: Database
03-30-2013, 08:34 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); So recently my partner and I made our own website by html coding it on notepad++
we are trying to figure out how we can get a database and we need a couple more web designers and programmers
Anyone willing to help
?
(adsbygoogle = window.adsbygoogle || []).push({});
03-31-2013, 12:42 AM #2
Originally posted by PClegend View Post
So recently my partner and I made our own website by html coding it on notepad++
we are trying to figure out how we can get a database and we need a couple more web designers and programmers
Anyone willing to help
?


To connect a website to a database you need to know PHP.... HTML doesn't do any connection for any database as far as I know Winky Winky I would have to host it in order to setup the databases and tables but here is a script to connect you to your database in PHP:
    

<?php
// Replace the variable values below
// with your specific database information.
$host = "SERVER HOSTED";
$user = "DATABASE_USERNAME";
$pass = "PASSWORD";
$db = "DATABASE_NAME";
// This part sets up the connection to the
// database (so you don't need to reopen the connection
// again on the same page).
$ms = mysql_pconnect($host, $user, $pass);
if ( !$ms )
{
echo "Error connecting to database.\n";
}
// Then you need to make sure the database you want
// is selected.
mysql_select_db($db);
?>
03-31-2013, 05:47 PM #3
Originally posted by 00x0
To connect a website to a database you need to know PHP.... HTML doesn't do any connection for any database as far as I know Winky Winky I would have to host it in order to setup the databases and tables but here is a script to connect you to your database in PHP:
    

<?php
// Replace the variable values below
// with your specific database information.
$host = "SERVER HOSTED";
$user = "DATABASE_USERNAME";
$pass = "PASSWORD";
$db = "DATABASE_NAME";
// This part sets up the connection to the
// database (so you don't need to reopen the connection
// again on the same page).
$ms = mysql_pconnect($host, $user, $pass);
if ( !$ms )
{
echo "Error connecting to database.\n";
}
// Then you need to make sure the database you want
// is selected.
mysql_select_db($db);
?>
Hello, thanks for the comment. Do you mind if you help us make it. Add me on skype and we can talk about it. I would appreciate it if you did and we would give you credit in the website. Thank you skype name is PClegend1999
04-01-2013, 12:35 AM #4
Master Ro
I make food
Originally posted by PClegend View Post
So recently my partner and I made our own website by html coding it on notepad++
we are trying to figure out how we can get a database and we need a couple more web designers and programmers
Anyone willing to help
?


~Moved to: Computer Coding and Programming Questions

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo