What have I done wrong. Why won't this work
-
When I create the file docs_to_wordpress.php with the following text:
<?php
include(‘./wp-load.php’);
$docs_to_wp = new Docs_To_WP();
$result = $docs_to_wp->startTransfer();
wp_mail( “YOUR_EMAIL_ADRESS”, “Docs to WordPress”, print_r( $result, true ) );It just returns a blank html file
If I change the address to my actual address I get an parse error in line 5 saying there is an unexected @
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘What have I done wrong. Why won't this work’ is closed to new replies.