Skip to main content
Jun 8, 2007 5:58 PM UTC
Question

PHP Fatal error

I'm trying to work with CS3 and am designing a form to submit some data to the database and when I attempt to look at the page I get the following error:

PHP Fatal error: Call to undefined function mysql_pconnect()

What should I do? I don't have control over the server... so I really cant make configuration changes...

all I get is a blank page the second I add a recordset...

Help!!!

-Warren
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Günter_Schenk
Inspiring
Jun 8, 2007 6:22 PM UTC
AFAIK, establishing a persistent connection to a MySQL server (that´s what pconnect stands for) will only work on servers where PHP has been installed as Apache "module" --- seems that the remote server has it installed as CGI.

Guess you´ll need to resort to using a regular non-persistent connection, means "mysql_connect()"

works better ?
Translate