Jump to content

eric07

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

eric07's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi I am really srtuggling with how to create a update SQL statement for a table in MySQL. I know I need a SQL statement but I am struggling in implementing it. Is there any examples of code that I can look at that will explain this. The new values that will be assigned to these table are done through $_POST function. So do I also have to assign these to normal php variables embedded in the page and then map these to fields in the table?
  2. [!--quoteo(post=371397:date=May 4 2006, 06:12 PM:name=Crayon Violent)--][div class=\'quotetop\']QUOTE(Crayon Violent @ May 4 2006, 06:12 PM) [snapback]371397[/snapback][/div][div class=\'quotemain\'][!--quotec--] not sure i get you. what do you mean by sending the data without using the submit button? [/quote] yes without the submit button - i want to update a records as soons as the page is accessed. The information that it is to be update with is sent through URL.
  3. I want to retrive variables from a URL which I assign to PHP variables ($_Request which I have done) - and I just want to update the set of record with this information (MySQL database) which I am having trouble with I also want it to exe as soon as the URL send this data without having to use submit button (executes straight away) and that will go back to another page. 1. Is this possible and where can I find some examples.
  4. [!--quoteo(post=370621:date=May 2 2006, 12:49 PM:name=SemiApocalyptic)--][div class=\'quotetop\']QUOTE(SemiApocalyptic @ May 2 2006, 12:49 PM) [snapback]370621[/snapback][/div][div class=\'quotemain\'][!--quotec--] Have you read the [i]two[/i] pinned topics in this forum regarding header problems? [/quote] No, where can I find it?
  5. I keep getting this error in my browser: Warning: Cannot modify header information - headers already sent by What I have done is i have an input form which action is to do a run a query. I put in code to into query that if the number of records is >0 then go to page1 else page2 but for some reason it doesn't work. if (mysql_num_rows($lecturer) > 0) { header ("Location: page1.php"); exit; } else { header ("Location: page2.php"); exit; }
  6. from the voiceXML document can I still access php variables from the index.php page where it is included?
  7. hi, i am new to php and I want to voiceXML into php. I was told to use print or echo statements to do this. I have tried to do this but I keep getting errors. Can someone help PLEASE. see below voiceXML code that needs to be into PHP. <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE vxml PUBLIC '-//Voxpilot/DTD VoiceXML 2.0//EN' 'http://dtd.voxpilot.com/voice/2.0/voxpilot_voicexml-2.0.dtd'> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"> <form id="getAppointmentDetails"> <field name="digit1" type="digits?length=2"> <prompt> what number </prompt> </field> </form> </vxml>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.