php mysql query from input textbox


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I have a text box, in that i have given the mysql query. I can able to get the query in variable. But after submit button i want to get data to be printed on a same page. But how can i print the rows of the table according to the query.

can any one assist me with some examples or some sample Programmes.

Thanks

No comments posted yet

Your Answer:

Login to answer
208 Like 22 Dislike
Previous forums Next forums
Other forums

extract content from a website
i have written a code that will grab the content from the index page..
i would like to know how c

column name cancatenation within PL/SQL
I have a PLSQL store procedure, and the following statement is part of a subquery
fname||lnam

Filling gaps in dates
So i'm doing a query for sales data and my return array looks like this

('date' => '20

Multithreading design
Hi

I have come up with a Singleton class that manages a pool of database connections. Basical

Session
I am having a little trouble with a session. Not sure if it is my browser or what. I know I do not

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

generating random codes
Hi guys n gals,

I have a requirement to generate 250,000 unique codes...

These codes a

MySQL-PHP Query Results Help
Hello all. I'm hoping to be able to get some help in solving a problem with query/rowcount output. I

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash