Forum Moderators: open

Message Too Old, No Replies

A way to "test" queries before they are executed

I'm using mysql and php

         

pixeltierra

5:34 pm on Aug 10, 2006 (gmt 0)

10+ Year Member



I'm looking for a method to test queries and check for errors, but without actually performing the queries. Is something like this built in to php or mysql?

Any help appreciated.

smatts9

5:45 am on Aug 11, 2006 (gmt 0)

10+ Year Member



I installed Apache / mySQL / PHP on my PC and use it to test all my stuff.

pixeltierra

6:32 pm on Aug 11, 2006 (gmt 0)

10+ Year Member



But that's not testing them, since it's still performing them. I also run php, mysql on my local machine, but what I'm making is an user application that could really benefit from having a option to test a query and show the user if there is any error before actually exacuting the query.

volatilegx

6:46 pm on Aug 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't believe there is a way... [answers.google.com...]