Welcome Guest, Not a member yet? Register   Sign In
Ajax request using site_url not working
#8

Avenirer is on the right track. If you're seeing the <?php tag in "View Source", the code isn't being processed by the server. If it's a JavaScript (.js) or HTML (.htm/html) file, the server may not be sending it through the PHP parser, so you may have to change the file extension or load the file from a PHP script to ensure the PHP tags are parsed properly before being sent to the client.
Reply


Messages In This Thread
RE: Ajax request using site_url not working - by mwhitney - 01-20-2015, 08:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB