Chuckster Posted August 26, 2010 Posted August 26, 2010 Hi guys. Ive recently just got a registration for surveys for my game. But i cant seem to get it it work in a page called surveys.php Heres the code im using, but its all errored up.: <?php include "globals.php"; print <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="http://www.cpalead.com/mygateway.php?pub=115449&gateid=MTI5NTky"></script> </head> </html> ?> Please help me! Thanks Quote
Wazam Posted August 26, 2010 Posted August 26, 2010 <?php require_once('globals.php'); echo '<table width = "75%" cellspacing = "1"><tr style = "background: gray"> <th>Funny image</th> </tr> <td><img src = "/?????/?????.???" alt = "????"/></td> </tr> </table>'; $h->endpage(); ?> I don't know JS, but I don't anything can be done with that code.. You don't need to include DOCTYPE etc... Globals(header.php included) provides that. Just enter information in the "????????????" :) EDIT: You forgot to put (EOF;) at the end. ^^ Quote
Paddy Posted August 26, 2010 Posted August 26, 2010 Hi guys. Ive recently just got a registration for surveys for my game. But i cant seem to get it it work in a page called surveys.php Heres the code im using, but its all errored up.: include "globals.php"; print << ?> Please help me! Thanks I don't see you closing the print there? or perhaps that's not the full code? Quote
Wazam Posted August 26, 2010 Posted August 26, 2010 It probably isn't the full code, but as I think he just need some of the majority of it helped on. :?: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.