Advertisement
Guest User

Untitled

a guest
Jul 31st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $get = explode('&', $_POST['seri'] ); // explode with and
  2.  
  3. foreach ( $get as $key => $value) {
  4. $need[ substr( $value, 0 , strpos( $value, '=' ) ) ] = substr( $value, strpos( $value, '=' ) + 1 ) ;
  5. }
  6. // access your query param name=ddd&email=aaaaa&username=wwwww&password=wwww&password=eeee
  7. var_dump( $need['name'] );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement