How to collect some very basic data of the visitors to my site

I'm new to DW CS4, the learning curve has been steep but I'm getting the hang of it now. I created a show air site here (www.hollisterairshow.com ) that works very well. I was asked to add a few basic questions about the web site (you come by car / plane, what day, the overnight campsite, etc.). I have a project, questions at the lower right corner here www.hollisterairshow.com/index2.html , they are very simple and all I need is total indicating the sum of answers, no connection, without reservations, etc. Ideally, I would like to have a submit button that modifies a message of "Thank you", when a user has submitted their response and rest as a "Thank you" if they visit the website again. What I need to set up a data source or something for this, I have a hard time finding how to start. So, what's the easiest way to implement something like this?

Thank you

Tony

Hello

Need you still php is enabled on the server to do this, but you can simply add the data to a CSV (comma separated file), and then copy the file to your computer to display the data.

The code would be similar to, (no error check, anti-spam or included in this example).

<>
 
If ($_POST)
{
 
$fh = fopen ("feedback.csv", "w +");
 
$name = $_POST ['name'];
$email = $_POST ['email_id"];
$feedback = $_POST ["feedback"];
 
$success = fwrite ($fh, "Name: {$name}, Email: {$email}, Feedback: {$feedback} \r\n");
 
fclose ($FH);
 
If {($success)
echo "thank you for your contact/comments".
} else {}
echo "a problem of treatment of your comments.';
}
 
}
 
?>

Don't forget to create a file named feedback.csv, (empty file) to the php script to write to.

PZ

Tags: Dreamweaver

Similar Questions

  • In the date picker, how can I default to select * dates if the user has...

    In the date picker, how can I default to select * dates if the user does not select a date.
    Thank you
    Doug

    Doug,

    Now lets say l want everything
    

    Could you post some sample data and the output you want to get... ? It would be very easy to understand the requirements...

    When you mean everything, I guess you need all possible dates between date1 and date2.

    You can use... (to asktom.oracle.com).

      1  select to_date('12-jan-2009','DD-MON-YYYY') + rownum -1
      2    from ALL_OBJECTS
      3    where rownum <= (to_date('20-jan-2009','dd-mon-yyyy') -
      4*                     to_date('12-jan-2009','DD-MON-YYYY') +1 )
    sql> /
    
    TO_DATE('
    ---------
    12-JAN-09
    13-JAN-09
    14-JAN-09
    15-JAN-09
    16-JAN-09
    17-JAN-09
    18-JAN-09
    19-JAN-09
    20-JAN-09
    
    9 rows selected.
    
    For your case, since you have date1 and date2...
    
    select to_date(:p12_date1,'DD-MON-YYYY') + rownum -1
      from ALL_OBJECTS
      where rownum <= (to_date(:p12_date2,'dd-mon-yyyy') -
                        to_date(:p12_date1,'DD-MON-YYYY') +1 )
    

    Should work... in my opinion... Have not tested the other by their Summit.

    Is that what you're looking for... ?? If no, please give details...

    Thank you
    Rajesh.

  • How can I recharge my sim data in the air of the ipad 2 and activate?

    How can I recharge my sim data in the air of the ipad 2 and activate?

    Hi asherfromqatar,

    The resources below explains how to activate cellular data on your iPad 2 Air service.

    Activate the service of cellular data on your iPad iPad, iPad 2 Air and Pro 3 mini or later

    Check or change your cellular data plan

    To check the status of your cellular data or make changes to your plan, go to settings > cellular data.

    To add another data plan to your iPad, tap Settings > cellular data > Data Plan > add a new Plan.

    When you activate a cell data with some carriers plan, your SIM Apple could be dedicated to the corporate network. Your iPad is unlocked so that you can buy an another SIM Apple or a standard carrier nano-SIM allows you to change networks. Learn more about dedicated SIMs.

    Get help

    Get help with your Apple SIM if you have one of these problems:

    • You receive an alert on your Apple SIM
    • You cannot activate a service or can't find certain support
    • You cannot connect to the cellular data network

    Take care

  • How after very basic fact for the first time?

    I don't have CS4 Premium.  I need to know how to make After Effects but want to do from the very very very low basic how to collect my four videos and make modifications on them as there are has some errors in their. Please what I need very basic, step by step 'how to' so that I can place fading framework between video 1 and video 2 and video 3, video 4. I would appreciate your help big big big future doing professional... :-)

    Well, you're in luck.

    Here is a description of the ins & outs of the way AE works, more a few cool how - to of:

    Getting started with After Effects (CS4, CS5, CS5.5, CS6, & CC)

    It's even good for your version of AE.

  • How can I solve very slow scrolling with the mouse when you press the command key? (MacBook Pro, Lion, no problem when using trackpad, no problem with other web browsers, other mice have the same problem)

    Scrolling speed is fine, but when you press the command key and then it becomes very slow.

    He does it with a mouse, but not with the trackpad.
    It does when the modules are disabled.
    No problem on Safari or Chrome.
    No problem on PC.

    I think it all started when I went form a MacBook with Snow Leopard on a MacBook Pro with Lion.

    Any help would be much appreciated.

    Thanks in advance!

    You use the mouse wheel to scroll?

    There are some prefs mousewheel, which control the behavior when you press the modifier keys.

    You can set the key to the action of each to 0 for normal scroll.

    See http://kb.mozillazine.org/About:config_entries #Mousewheel.

  • How can insert different types of data in the table?

    Hello
    How can I insert different types of data in the table, (e.g., numeric and string) in the same index of a table.

    example:
    index0 car 10 green

    car red 11 index1
    Index2 car Blue 12

    where green car red and blue car as string and 10, 11 and 12 in the numeric form.
    then I extracted 10, 11 and 12 a digital table

    and, the green car, red car, blue car in a string array

    Help!

    Use 'Analysis of the chain' as in the picture as an attachment.  This will extract the number and color that you can add tables later.

  • Some applications store data in the folder my documents...

    Is it possible to transfer the files resulting to my library folder or to a single folder off the beaten path?

    Otherwise, I guess I could create my own 'My Documents' folder.

    Some programs store information in the Documents folder. Some may be moved and others not. If you do not want a mixture, then you should probably create your own 'My Documents' folder.

  • How to create a file of data to the remote server...

    I need to create the data to the remote server file...

    When I tried to create using the command

    create tablespace XXXC_DATA Datafile

    ' \\1XX. XX. X.XXX\TestSVR_Share\CCC\oracle\Datafiles\CCC_DATA. DBF'

    size 10 m

    autoextend on

    next 10 m

    MaxSize unlimited;

    1.png

    I checked the local policies.

    (I am an admin user and I added 1) access this computer from the network 2) Act as part of operating system and update of local policies

    It did not work.

    so I've mapped the shared location and run ogical below command

    create tablespace XXXC_DATA Datafile

    ' Z:\TestSVR_Share\CCC\oracle\Datafiles\CCC_DATA. DBF'

    size 10 m

    autoextend on

    next 10 m

    MaxSize unlimited;

    1.png

    Can anyone help on this.

    It does not matter if * you * have access to this shared directory. This is important if the user used to run Oracle.

    When you access the Services application in Windows (I assume you are the DB on Windows), double-click the Oracle service for the database in question and go to the tab "Log On", it is * that * the user who must have access to the directory is shared. If you have "Local System" set as a user, you will need to change this.

  • How do you have a field data on the other and stay readonly?

    I am trying to create two identical forms on the same page.  The first is for the entry, and the second is a copy of the employee.  I would like to set the fields on the second form to receive the data from the first and also set the form fields second as readonly.

    It is possible. The problem is of option buttons and check boxes do not have a validate event (which is exposed) as other types of fields, it should take a different approach with them. One way is to use the mouse event to the top and the code like this:

    getField("checkbox2").value = event.target.value;

    You must do this for each button to check/radio.

  • How to handle multiple formats of date to the same date field in SQL * Loader

    Dear all,

    I have a requirement where I need to get data from a text file and even insert into the oracle table.

    I'm using SQL * Loader to fill data from the text file in my table.

    The file has an area where I expect to date data date in different formats, such as MON/dd/yyyy mon/dd/yyyy mon/dd/yyyy, dd/mm/yyyy, DD/month/yyyy.

    When you use SQL * Loader, I can see loading fails for records where we have formats such as LUN/jj/aaaa, Mon/dd/yyyy, DD/month/yyyy.

    Is it possible in SQL * Loader where we can mention all these date formats so that data from that date should go smoothly in the underlying date column in the table.

    Receive your answer on that.

    Thank you
    Madhu K.

    I think following could be the solution to your problem:

    Suppose if you have data from four different date formats, you need to load the data into four different tables by running SQL * Loader four times and each time specify other date format in the control file whose data to load, and then at the end, merge data from these four different tables using the UNION clause.

    Elya

  • Noob question: how to upgrade code very basic as2 as3.

    I was asked to update a web banner with old as2 code, and is not a coder or a regular user of Flash, I'm stuck with what I am certain is a simple problem. As part of the opening code is;

    function timeOut (pauseTime) {}

    Stop();

    pauseTimer = setInterval (Thi, "goPlay', pauseTime);

    }

    function goPlay() {}

    Play();

    clearInterval (pauseTimer);

    }

    After that, there are a few images that include timeOut (500); code, that seems pretty basic, so I imagine that my problems are all in the opening code.

    I get 4 errors that refer to the Frame 1;

    1120: access of undefined property pauseTimer.
    1067: constraint implied to a value of type CapOne_MM_648x480b_fla:MainTimeline to a type unrelated to function.
    1067: constraint implied to a value of type String to a type unrelated to number.
    1120: access of undefined property pauseTimer.

    Can anyone help or point me in the right direction? Thank you.

    For the code show you it would not need to convert to AS3 since between AS2 and AS3, it has not changed.  One thing he shouldn't do is to declare variables and given that pauseTimer is used in multiple functions must be declared outside any function.  Another thing you need to do is to specify the types of variables, including the arguments passed to the function.  Regarding the call to setInterval itself, it seems to write properly...

    var pauseTimer:Number;

    function timeOut(pauseTime:Number) {}

    Stop();

    pauseTimer = setInterval (goPlay, pauseTime);

    }

  • Satellite L300-110 - how to recover without losing any data on the HARD drive?

    Hi all
    I have a Toshiba Satellite L300-110

    The question is how can I recover my laptop with the recovery DVD without losing all the data located in the hard drive?

    I confirm the information published by Luke.
    The HARD drive and all other partitions should be formatted using the recovery disk.
    Why? The recovery disc sets the laptop to factory settings and to this end, the HARD drive must be formatted first.

    That is why it s is strongly recommended to back up the data if you want to use the recovery disk.

    See you soon

  • How to extract string in JSON data where the value in a table

    Hello

    Structure of JSON string

    {'name': 'John', 'name': 'kumar', 'address': [{'Address1': 'value', 'place': 'value'}, {'address2': 'value', 'place': 'value'}]}

     


    How to extract the value of the address of the list.

    If you have control over the format of data, it is best to rename address1 and address2 to have the same name, for example "address". Then, it can be analyzed that way (I've also simplified other code a bit):

    JsonDataAccess jda;
    QVariant v = jda.loadFromBuffer(jsonString);
    QVariantMap m = v.toMap();
    QString name = m["name"].toString();
    QString surname = m["surname"].toString();
    QVariantList addresses = m["address"].toList();
    foreach (QVariant addr, addresses)
    {  QVariantMap addrMap = addr.toMap();
      QString addressValue = addrMap["address"].toString();
      QString place = addrMap["place"].toString();
    }
    
  • Looking for ideas on how to get large amounts of data to the line in via APEX

    Hi all

    I am building a form that will be used to provide large amounts of data in row. Only 1 or 2 columns per line, but potentially dozens or hundreds of lines.

    I was initially looking at using a tabular subform, but this feels like a method heavy since more than an insignificant number of lines.

    So now I'm wondering what are the solutions others have used?

    Theoretically, I could just provide a text box and get the user to paste in a list delimited by lines and use the background to interpret code on submit.

    Another method that I've been thinking is to get the user to save and download a CSV file that gets automatically imported by the form.

    Is there something else? If not, can someone give me any indication of which of the above would be easier to implement?

    Thank you very much

    PT

    Hi PT,.

    I would say that you need a loading data wizard to transfer your data with a CSV file. 17.13 Creating Applications with loading capacity of data

    It is available for apex 4.0 and distributions, later.

    Kind regards

    Vincent

    http://vincentdeelen.blogspot.com

  • IMPDP - how to import a dump file data including the dumpfiles Clustered.


    Hello

    Can someone suggest me how will import data from dumpfile using IMPDP, if the EXPDP has used several Dumpfiles clusters. ?

    I want to import a particular file will only, which will be possible?

    When I tried this way I was getting error.

    IMPDP USER/PWD@SID DIRECTORY is DUMPFILE DATA_PUMP_DIR = DUMPFILE01. DMP LOGFILE = IMPDP_DUMPFILE01. LOG SCHEMA = < NAME >

    ORA: 39002 INVALID OPERATION

    ORA: 39059 dump file set is incomplete

    ORA: 39246 cannot locate a master table in provided dumpfile breast.

    Note: The Exp was made in oracle 10g (10.2.0.4.0), I import the dump file in Oracle 11.2.0.1.0

    Please advise on this.

    Concerning

    Suresh

    This doesn't make much sense.  I guess you have several dumpfiles from an export order and you don't want to import 1.  How can you know what is in the dumpfile that you want to import?  Is the last thing that will do the job of data pump export the main table.  How do you know which file is in and then you're sure to import objects are in the same dumpfile.

    The answer is NO, this is not supported.  During the Data Pump import starts, it checks that all dumpfiles at time of export are included in the import job. If this is not the case, the job will fail.

    Dean

Maybe you are looking for

  • XZ046UA: bios reset/power on people with disabilities

    I NEED BIOS RESET CODE error code is 77001425. product is hp G42 series "415DX. IM praying with a higher power and meditation.

  • WhatsApp and Moto G wifi

    Hi all I got a new bike G a few weeks ago and I'm slowly learning how to use it. My old Samsung Galaxy S2 used 3g to run whatsapp, but it seems to use the wifi which is well home, but at work, it is difficult to get a signal. The bike G has wifi like

  • HP Pavilion dv4 2141nr wireless network connection problems

    Machine will connect to the wireless network, but not connect to internet. Have restarted, hard-rebooted and uninstalled/reinstalled all the drivers for network card. Any help is welcome!  Thanks in advance.

  • How to read video clips with LabVIEW in Windows 7?

    I already had the opportunity to play a video clip of my LabVIEW program.  Now, with the same program in the two operating systems, Windows XP and Windows 7, both versions work, but the version of Windows 7 will not be saved.  Trying to save it, I ge

  • Changing the default action when you click on an icon.

    When double clicking on a folder icon that opens a search window.  If you right click it, it opens a menu as only normal 'search' at the top, is "BOLD".  How can I change the default action to 'open '?