top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Passing parameter from client to server using PHP

+1 vote
229 views

I have a select control on the form and need to pass value user select to my query parameter. I just realized that user entry value is client side and query parameter is server side.
Are there any way to read client parameter to pass to server?

posted Jul 18, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes
 
Best answer

Not possible from PHP unless you pass it via GET or POST, or as a cookie.
You may want to look into JavaScript, jQuery, and AJAX for your specific needs, but that all gets beyond the scope of this list.

answer Jul 18, 2013 by anonymous
Similar Questions
0 votes

In entity class i have string[] name; property stored in db so how can i fetch all values from table by passing again string array values to it.

0 votes

I want to retrieve the user's location after user signs in my website. How can I do that?

At this moment here is the scope that i have: $client->setScopes('email');
I guess I have to change that.

And to retrieve data I have the following:
$client->verifyIdToken()->getAttributes();

Do I need another method than this?

+5 votes

I Know that we can always fetch from one database server and rewrite it to another. But what is the simplest way to do this?

0 votes

I want to write online user module for my site and I want to check $_SESSION['userID'] to find all users id who loged in but when I echo this code its return only current user detail how I can see all sessions?

foreach($_SESSION as $k => $v)
{
echo $k."----------".$v;
}

or how I handle online users?

...