Current location: Hot Scripts Forums » Programming Languages » PHP » MZSurvey


MZSurvey

Reply
  #1 (permalink)  
Old 05-21-06, 03:20 PM
pjrobertson pjrobertson is offline
New Member
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
MZSurvey

I've tried to put the survey in my site. But where ever I paste the

Code:
include $SURVEY_PATH.'mzsurvey.php';
	print_survey('example_survey');
in my webpage body, it just shows up as words.
Any help?
I've uploaded the files and changed the $survey_path to my website, so It's not that, (I don't think)
Reply With Quote
  #2 (permalink)  
Old 05-21-06, 03:39 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Ummm, maybe you need to put it in PHP braces? Either that or you don't have PHP On your machine.

Code:
<?php
 
include $SURVEY_PATH.'mzsurvey.php';
print_survey('example_survey');

?>
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 07:15 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.