So I'm writing this website and i need the following line of code

$b =;

but the problem is that everything after the // php makes it a comment, so my question is how can I work around this small issue?

Recommended Answers

All 2 Replies

Thanks! it actually didn't work that way, cause joomla wouldn't allow it.

But I resolve the issue by getting the base URL from the joomla API.


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.