So what's wrong with this line of PHP code?

BigToque

Lifer
Oct 10, 1999
11,700
0
76
$query = "SELECT Date, News FROM News LIMIT " + $rowstart + ", " + $numrowsID + " ' ";

I keep getting integer results from this line of code when I do an echo to see what I'm getting.
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
in PHP you concatenate strings with . (period) not +

PHP also parses variables in double quoted strings so $blah = 'world'; echo "hello $blah"; would print hello world