php - A need to get data from a table and then use that data for a query -


I would like to write a PHP function that calls another function

Page 1. The item from the user Selection drop down.

(I then post it on the same page.)

Page 1. (I have a query on the page that the item has been selected) (in this In the case I return the item length and long.)

$ latitude = $ row_farms ['lat']; $ Longitude = $ row_farms ['long'];

(On the same page - I'm trying to run another query on another table using the previous query data)

I hope That makes sense.

Thank you.

So, do you want to pass the criteria between "page" Have Pages?

Well, the global $ _REQUEST array is your friend, unless I understand your problem (which is not as a question size, BTW). Your URL example.php? Lat = xxx and long = yyy, and you'll pull those people with $$ _REQUEST ['lat'] and $ _REQUEST ['long'] in your script and if you want "pager" right, you $ _REQUEST ['Page'].

But I am very much inclined to know what you are really fighting, so if you can add or edit information, hopefully some code, it is great.


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%? -