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

problem with sql querry in php script
Hello guys,

What I want to do is I want to read out a csv file and then but te conent ot the

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

shoping cart issues
i´ve wrote this and works when i add an item to, my cart, but when i want to add othrer item just

styling a RadioButtonList
HiI need to have a radio button and close to it, its lable, then a space then another set of those.

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

Confused with Loop
guys, i got confused with Looping...this is the case

I have 3 stocks, let say "Stock A&q

Question about ShowWindow()
Hello....

I'm struggling with sumpin, and I hope y'all can help.

I've got a CFormView

MySql timezone
Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE t

PHP - MySQL Fail
My PHP code will only execute the first part of my code...

Code: <?php

sessio

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

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