Re: Re: I'm getting frustrated with this.

From: Date: Sat, 01 Dec 2001 00:16:38 +0000
Subject: Re: Re: I'm getting frustrated with this.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-76282@lists.php.net to get a copy of this message
Got it! Turns out to be one of those obvious left-it-out errors that happens when staring at the monitor too long. One other guy helped point this out off-list. I'm at home now and don't recall his name, the emails being at work. Thanks to all, Chip On Friday 30 November 2001 12:09 pm, Fred wrote: > If you want to know exactly why mysql functions fail you should always, and > I do mean always, use this form: > $Result = mysql_query($Query, $Connection) > or die (mysql_error()); > You will always get a fairly descriptive error from mysql. If you still do > not understand the error, at least you have more specific information for > this list. > > Fred > > Chip Wiegand <chip.wiegand@simrad.com> wrote in message > news:OFB280BEED.C8AF60D9-ON88256B14.0067452D@simrad.no... > > > Hi, > > I just want a simple page that pulls the data from a database (got that > > working fine, no problem), > > and on that page I want to be able to have an option to delete entries. I > > have tried what seems > > to be the simplest method - using a form text field, enter the > > appropriate info, and hit the submit > > button. It should then be deleted from the database. I can delete from > > the database on the > > command line, but getting it to work in php is another story. I keep > > getting 'not a valid mysql > > result resource' errors. I have 3 php/mysql books and cannot get this to > > work. I know it can't be > > as difficult as it appears. > > My goal is simple enough - I have a database that is populated from > > online web forms. It contains > > enduser names, addresses & email addresses. I made a form that the > > marketing people can use > > to view the database, search it and display it in various ways. I also > > gave > > > them a form that will > > allow them to manually add enduser info into the database. That all works > > fine. It's just the doggone > > delete stuff that I just haven't got a handle on yet. > > Is there a tutorial somewhere that shows the simplest method of setting > > this up? That's all I need, > > a reference to a location for a tutorial or info on this particular > > subject. > > > > Thanks, > > Chip

« previous php.general (#76282) next »