You are here: Re: A little help please.... « PHP Programming Language « IT news, forums, messages
Re: A little help please....

Posted by mypetprogrammer on 12/16/38 11:59

<?php

extract($_POST);

print $SQQ1."<br />";
print $SQQ2."<br />";
print $SQQ3."<br />";

?>

~A!


Ken.Blair wrote:
> I have a piece of software that generates surveys in HTML and then
> "should" email the data to me. The script that was used by the survey
> was pulled from the public domain and I have to come up with another
> way of doing it. The following is the HTML generated by the program:
>
> <P> 1. Do you favor the potential Hernando County ordinance requiring a
> "super majority" for approving changes to the Hernando County
> Comprehensive Plan?</P><P><DIR>
> <INPUT TYPE="RADIO" NAME="SQQ1" VALUE="1">Yes<BR>
> <INPUT TYPE="RADIO" NAME="SQQ1" VALUE="2">No<BR>
> <INPUT TYPE="RADIO" NAME="SQQ1" VALUE="3">I don't understand the
> issue.<BR>
> <INPUT TYPE="RADIO" NAME="SQQ1" VALUE="4">I understand but am
> undecided.<BR>
> </P></DIR>
> <P> 2. How long have you lived in Hernando County?</P><P><DIR>
> <INPUT TYPE="CHECKBOX" NAME="SQQ2" VALUE="1 ">Less than 1 year<BR>
> <INPUT TYPE="CHECKBOX" NAME="SQQ2" VALUE="2 ">Between 1 and 5 years<BR>
> <INPUT TYPE="CHECKBOX" NAME="SQQ2" VALUE="3 ">Between 5 and 10
> years<BR>
> <INPUT TYPE="CHECKBOX" NAME="SQQ2" VALUE="4 ">Between 10 and 15<BR>
> <INPUT TYPE="CHECKBOX" NAME="SQQ2" VALUE="5 ">Between 15 and 20
> years<BR>
> <INPUT TYPE="CHECKBOX" NAME="SQQ2" VALUE="6 ">More than 20 years<BR>
> </P></DIR>
> <P> 3. Do you own a business in Hernando County?</P><P><DIR>
> <INPUT TYPE="RADIO" NAME="SQQ3" VALUE="1">Yes<BR>
> <INPUT TYPE="RADIO" NAME="SQQ3" VALUE="2">No<BR>
>
> I need to know what the PHP script would be that would take the input
> from this HTML and then email it to me. The required format for the
> response is:
>
> SQQ1:
>
> 1
>
> SQQ2:
>
> 4
>
> SQQ3:
>
> 2
>
> The format is required for the software to automatically pull the data
> into the software for cross-tabs and report generation.
>
> The developer of the sofware isn't a script/PHP person and depended
> upon the hosting company that pulled the script from the public domain.
>
> Any help would be appreciated I've spent the better part of the day
> working on it but just don't have the PHP skills (yet!). I can get an
> email but can't get the script to load the various values of SQQx and
> the response value. Something tells me an array is necessary but I
> haven't been successful.
>
> Thanks in advance.
>
> Ken

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация