How do I do this, without getting errors: (This is in a DB while)
$faq_url = roc[6];
$faqshref = 'faqs/';
Now I want to combine these 2 for a filesize check.
I've tried a lot of combinations but nothing is working. Basically $faq_url holds a filename and I want to combine it with this url, so the filesize check will work properly.
so $faqshref = 'faqs/' + $faq_url
Is what I want to know how to do
Combining a string and a variable
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Code: Select all
$faqshred = 'faqs/' . $faq_url;