Wrox Programmer Forums
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 3rd, 2005, 02:07 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP & MySQL

I am new to both technologies and have a question.

I have a small very MySQL DB with a single table trying to generate PHP and HTML code to display the table in a browser for a proof of concept. The problem is that I do not see any display nor any error messages in the browser when I run the code. I am copying examples from different sources in hoping that something will trigger a result, but so far no luck.

TIA
 
Old January 13th, 2005, 10:35 PM
Authorized User
 
Join Date: Aug 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

YOu should save the file you have made in *.php (php extension), do not save with *.html;
But, can you give me the code of the file you have made ??? Also the name of the file...
Best regard,

Randhy

 
Old January 14th, 2005, 01:32 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Have you installed PHP and MySQL?

If so, call the PHP code with error handlers like this:

mysql_some_operation(params) or die(mysql_error());

-Snib - http://www.snibworks.com
Where will you be in 100 years?





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a pictures gallery with php & MySql Paul Weinstock Pro PHP 2 May 8th, 2009 02:50 PM
mysql & php connection problem. Manu Sharma PHP Databases 2 March 2nd, 2007 07:03 AM
begin php & mysql - chapter 12, user_form.php jon_stubber Beginning PHP 1 March 9th, 2006 10:57 AM
php, mysql, apache & dreamweaver seanhsueh PHP Databases 1 December 9th, 2005 08:12 AM
MySQL & PHP Parse error Stuart BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 March 17th, 2005 03:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.