I’m doing a string concatenation:
$url = "http://www.majesticseo.com/reports/site-explorer/summary/"
+ $page['page_url'] + "&IndexDataSource=F"
;
and this is what I get when I print it:
0
where does the 0 come from?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It comes from the fact that you’re performing an arithmetic operation on non-numeric data. Use the concatenation operator (
.) instead.