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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

keeps going back to index.html ???????
ok so i started making my site using mostly.html files now i have added a fair chunk of php. My inde

$_FILES array
Ok,

I just started experimenting with PHP today. My goal right now is to have people be able

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Help with translating C code into assembler code
Hi im doing a project that moves a robot around a maze avoiding walls and need some help with conver

Print out contents of to Excel
I have got this script that gathers all the data that I need but I need it to send it to excel inste

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

calculator
I can't figure out why this code doesn't work. No error messages. Page loads.

Code: <

Help with explandable category tree
I have the below query:

SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.categ

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