[thelist] php/MySql Help Please

Ron Dorman rwd at csi1st.net
Tue Oct 2 21:27:15 CDT 2001


Jay, are you saying we need to wrap each query this way to get the mysql info
back into the php environment?  Would you leave this code in place after dev
is complete and site went live?

Jay Greenspan wrote:

> mysql_query($sql_string) or
>      die(mysql_error());
>
> On Tuesday, October 2, 2001, at 10:12 PM, Ron Dorman wrote:
>
> > We have php-4.0.4pl1-9 installed via rpm, mysql-3.23.36-1 installed via
> > rpm on RedHat 7.1.  Coding forms with php, db connect works fine.
> > However, bad sql statements in the php code do not get mysql errors
> > back.  Debugging the code is painfull this way.  Can anyone shed some
> > light on what configs I should look at to correct this and get "full"
> > communications between the two.
> >
> > Thanks,
> > Ron D.
> >
> >
> > ---------------------------------------
> > For unsubscribe and other options, including
> > the Tip Harvester and archive of TheList go to:
> > http://lists.evolt.org Workers of the Web, evolt !
> >
>
> __________
> trans-city
> writers who code
> http://www.trans-city.com
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list