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

BB_Code error
I'm having a problem with a custom built function and keep getting this error:


Warning: M

Inserting the current date/time while submitting the forum
What do I need to add below to update the current date/time? I have a field in the database called d

Extra fields in main body and php required.
I'm new to PHP so please be gentle. I have a little php script below that works well.
The &quo

Strange PHP/mySQL error ... am I just tired?
Code: <?

## CONNECT TO DB FUNCTION!
function ConnectTo($db2con)
{
$hostNam

need help in mysql_num_rows()
please tell me what i am doing wrong in this query. it displays this error

Code: Warning: mys

Upload simple problem
Really confused!! I run once and it worked, but when i tried today...it didn't work

Which par

LIMIT $start, 10... how to pass last value queried into next page with GET??
Ok I know how to display the first or last 10 results of a query...

$result = mysql_query(&q

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

Help with syntax
Hi all!

The $bridge variable is not getting passed while it is contained in the line below:

Saving data from a form into a file
Hey everybody,

Sorry, I am really new to PHP coding and such but a project kind of got thrust

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