PHP GET number query

Posted by Jordan on Stack Overflow See other posts from Stack Overflow or by Jordan
Published on 2010-06-01T10:46:10Z Indexed on 2010/06/01 10:53 UTC
Read the original article Hit count: 260

Filed under:

Hi to all!

I have a query that gets the name and an id.
The results is like this :

54 - Rian Ree Barrientos

I wanted to get the number 54.
I used echo (int)$_GET['number'];
But the result is "0". How can I get the number?

© Stack Overflow or respective owner

Related posts about php