B BigToque Lifer Oct 10, 1999 11,700 0 76 Jan 20, 2005 #1 $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.
$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.
D dighn Lifer Aug 12, 2001 22,820 4 81 Jan 20, 2005 #2 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
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