Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP 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 April 20th, 2004, 03:39 AM
Authorized User
 
Join Date: Apr 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to junemo
Default

pg_connect is use to open a PostgreSQL connection, but i use mysql.
umm...that mean i can't put the pg_open() inside my code? does it have another solution?
i should use which function to fit the error?
ahaha... i also first time use the mysql database servers.
i use PHP4.34 run at Apache HTTP Server 2.0.49, MySQL Server & Client 4.0.18. i also have install MySQL Control Center to create the table & support by WinMySQLadmin 1.4. Did i miss something?

thank you.

 
Old April 20th, 2004, 03:52 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

You certainly can't use pg_* functions to connect to a MySQL database. I suggest you read up on some database tutorials.

You can start with the MySQL manual:
http://www.mysql.com

And the PHP MySQL function reference:
http://www.php.net/mysql

Regards,
Rich

::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::





Similar Threads
Thread Thread Starter Forum Replies Last Post
Reporting for Analytical Data Setup nickLogan BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9 0 January 21st, 2008 02:17 PM
How to pass data to user interface (.NET Setup) saeedahmed C# 2 November 10th, 2005 06:48 AM
Writing Data into database from a Session Lofa ASP.NET 1.0 and 1.1 Basics 0 October 9th, 2005 08:57 AM





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