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

check how many commas the variable containing the query has between [i]select[/i
Hi...

iv made an sql table that contains id number - name of sql query and an sql query.
T

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

Multiple Do / While Statements?
I'm still very new to PHP, and running in to a problem when trying to execute a do/while loop inside

Linux socket programming
Where can I find a good introduction to socket programming?

Trouble verifying database password
Thankyou to everyone who responded to my last post (I can't find the posting, it has been buried). <

Probably Easy, Need help with Check Boxes in PHP Code
hello,

Thanks for looking this over and helping me out. My problem is I have a online store l

Help with setcookie()
Merry Xmas to those on this foruum
Older guy here with some experience but not allot so please be

Creating a function
Basically i wanna put all this code in a seperate file

Code: <?php

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

PHP hyperlinks generator
Hi

I need some help to get this done using php:


1 - I have few hyperlinks say 500

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