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

Structure Question - One Table or One Table Per Record Set?
I have a web app (mySQL and PHP) which allows people to create an item with up to 200 records which

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

single page with referrer to show correct page
I have a simple website with a couple of different pages. I would like to be able to in a div tag w

Login Issue's
Code: <?php
$file = fopen('user.txt', 'r');

/* Set login to false initially */

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

CURL question
i am wondering if it's possible to use multi curl with login something like

login once to web

DateObject and Nulls
Hi all,

I have an array mapped to a value object. One of the items in the array is a PHP Date

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

PHP - HTML
Could anyone give me some GOOD sample links for php - html email tutorial.

Thanks!

Retrieving Data from Two Different Databases
Hello All,

Ran into another problem and would appreciate some help! I have two datab

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