MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Don Read Date:March 16 2003 5:49am
Subject:Re: Updat not Updating
View as plain text  
On 15-Mar-2003 Sime wrote:
> Andrew wrote:
>> can you explain how I would do this tracking?
>>

<snip>

> 
> Hi Andrew,
> 
> Try building the query to a variable first, then output the variable to
> see
> if what MySQL is receiving is what you expected..
> 
> eg,
> $querystring="select * from mytable;";
> echo("\n\n$querystring\n\n");
> mysql_query($querystring);
> 
> will output..
> select * from mytable;
> 
> You can check the syntax of the command this way.
> 

Yep. My code is littered with:

// echo $qry;exit;

-- and --

echo "<!-- $qry -->";

Regards,
-- 
Don Read                                       dread@stripped
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
                            (53kr33t w0rdz: sql table query)
Thread
Updat not UpdatingAndrew14 Mar
  • Re: Updat not UpdatingPaul DuBois14 Mar
  • Re: Updat not Updatingnobody14 Mar
    • RE: Updat not UpdatingAndrew14 Mar
      • Re[2]: Updat not Updatingnobody14 Mar
      • RE: Updat not UpdatingPaul DuBois14 Mar
        • RE: Updat not UpdatingAndrew14 Mar
          • RE: Updat not UpdatingPaul DuBois14 Mar
          • Re: Updat not UpdatingBrian McCain14 Mar
            • RE: Updat not UpdatingAndrew15 Mar
              • Re: Updat not UpdatingSime15 Mar
                • Re: Updat not UpdatingDon Read16 Mar