Page 1 of 1
Storing information in MySQL
Posted: Tue Jun 10, 2008 8:19 pm
by pauls74462
Using this information I connect to my db.
$link = mysql_connect('localhost', 'xyz_me', 'This_That&TheOtherThing');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
It works good. But I need to know how to store information in the db from a web page and also read it to show up on a web page.
I'm learning php db
Re: Storing information in MySQL
Posted: Tue Jun 10, 2008 8:41 pm
by Christopher
Re: Storing information in MySQL
Posted: Wed Jun 11, 2008 1:45 pm
by califdon
pauls74462 wrote:Using this information I connect to my db.
$link = mysql_connect('localhost', 'xyz_me', 'This_That&TheOtherThing');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
It works good. But I need to know how to store information in the db from a web page and also read it to show up on a web page.
I'm learning php db
Paul,
We're happy to see newcomers learning PHP and MySQL, but a forum is the
worst place you could come to
learn about broad subjects like that. You need to study tutorials that start at the beginning and work through the basics. Then when you get stuck and find that something doesn't work like you expect it to,
then is when you should come to a forum like this and ask a very specific question. Good luck and have fun.
Re: Storing information in MySQL
Posted: Fri Jun 13, 2008 10:48 am
by pauls74462
Where is a good study tutorials found at?
Re: Storing information in MySQL
Posted: Fri Jun 13, 2008 11:23 am
by califdon
pauls74462 wrote:Where is a good study tutorials found at?
I'd start with
http://w3schools.com