PHP call a function from a function -


What is a PHP code that will do one thing first and then take it and make another.

1: I want a variable $ _GET and then run a query on it and want to return the variable.

And then

2: Use those "other" variables in a query.

I'm thinking that I want to do it with two tasks, my query is based on the basis that I send from a form. So it needs to get the value from the url and then run the query.

  $ variable = $ _GET ['variable']; Mysql_query ("SELECT * FROM` table" where `field` = '" .mysql_real_escape_string ($ variable) "" LIMIT 20 ");  

Do you want something like the above?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -