I am new to PHP.
After much pain and suffering,
I finally got my code working locally! but it doesnt work when I upload it to the server.
This line of code:
$doc = new DomDocument('1.0', 'UTF-8');
causes this error:
domdocument() expects parameter 2 to be long, string given in.....
I'm worried it's got to do with the PHP versions?
local: PHP Version 5.2.9-1
server: PHP Version 4.4.4-8+etch6
As it's a shared server, I dont think I'll be able to change any settings on the server.
Any help will be greatly appreciated.
regards,
Kimberly