English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

ok so i'm trying to put in a poll using php because its created using databases and...

so the real question is how do i use php in a html page i'm using microsoft frontpage as my html editor and i already did the steps from http://office.microsoft.com/en-us/frontpage/HA011092991033.aspx but i still can't get it to work here is a link to the page i'm trying to put it on the php code is on its just not working
http://futuregamespc.com/new_game.html
please help i just want to get this poll on my site i don't care if its a link to another page or anything i just want it to be in the tab

2007-12-26 11:06:40 · 1 answers · asked by Random Guy 2 in Computers & Internet Programming & Design

i have to use or <% for the start and end because frontpage reformates it if you use

2007-12-28 02:27:04 · update #1

1 answers

Well . . . looking at the source of that page, this looks like nonsense:









I don't know what your code does, so I can only guess what you're supposed to put. Try this:

include_once "/mnt/w0809/d28/s25/b02a8bb2/www/poll/textfile/poll_cookie.php";
?>
include_once "/mnt/w0809/d28/s25/b02a8bb2/www/poll/textfile/booth.php";
echo $php_poll->poll_process(4);
?>

There was a comment that said to have that first block before any html, so do as it says and put it at the very top of your file.

Make sure your files are set to be executable too, otherwise php will not work. I'm assuming, of course, that your host allows you to use php. If not, nothing you do will work. You may also have to rename your files to have the extension .php .

Good luck!

2007-12-26 11:22:46 · answer #1 · answered by anonymous 7 · 0 1

fedest.com, questions and answers