Jump to content

geronimo

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

geronimo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. As it pertains to: u have msn so i can send u the scripts? Not sure what you mean. Are you asking for an email address? geronimo
  2. 1. Maybe I should have mentioned that the FORM is an HTML page....using the  Method = POST and then the ACTION calls the php script. 2. Yes -  as it pertains to the link: http://www.allinthissite.co.uk/index/index.php?page=account&action=home However, If the user is returned to the form, I would like to be able to present the form with the data still present. If that is too much, I'll take what I can get. I'm willing to change whatever is necessary. If the form needs to be presented via php as opposed to html, I'll try to do that. Thanks for responding geronimo
  3. 1. I have a form that posts data. 2. I have php script that handles data and checks for errors. If no error, it returns page with the data that was entered and a thank you. 3. If there is an error: it returns the user to a blank form and exits the php script. I want: 1. To at least echo an error message and return user to a blank form. 2. If I could echo an error message and return user to form with the data that they entered still there, that would be better. I WANT TO USE PHP NOT JAVA SCRIPTS....etc.... Here is what I have: <? if ((!$_POST[FirstName]) || (!$_POST[LastName]) ||(!$_POST[BusinessName])|| (!$_POST[Address]) || (!$_POST[Email]) || (!$_POST[Email2]) || (!$_POST[Category])){ header("Location: http//www.go.back.here/submit_your_business.html"); exit; } This checks to see if data was entered in these fields. If not: it returns user to blank form. Again: I want to echo a message and then return to the form or return to the form with the message above the form....whichever is appropriate coding. And then: if I can return the user to the form with an error message and the form still holding the data.....terrific. Thanks geronimo
  4. [!--quoteo(post=362064:date=Apr 5 2006, 06:20 PM:name=akitchin)--][div class=\'quotetop\']QUOTE(akitchin @ Apr 5 2006, 06:20 PM) [snapback]362064[/snapback][/div][div class=\'quotemain\'][!--quotec--] i believe what ken meant was that you could send the links to the same page you're on, and simply run the appropriate query based on what was sent. then output it where appropriate. you only need ONE file to parse all the links in this way, not a great deal of them. [/quote] Hi: 1. Thanks for responding. 2. What I did was add this line to the "called" php script: <?php include("index.html"); ?> 3. I made this the first line in the script. 4. It worked........but. 5. The results are produced at the bottom of the page and below the table. Need: I would like it to be displayed in the following location:(here is the code) **************************************************************** <tr> <td height="380" valign="top"> </td> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX </tr> </table> *************************************************************** XXXXXXX - marks the spot. Any suggestions? Thanks soc
  5. [!--quoteo(post=362019:date=Apr 5 2006, 03:17 PM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ Apr 5 2006, 03:17 PM) [snapback]362019[/snapback][/div][div class=\'quotemain\'][!--quotec--] Either you combine your PHP and HTML into one PHP script or you can use AJAX techniques from javascript to asynchronasly call your PHP scripts and return the information back to javascript to display Ken [/quote] 1. Thanks for responding. 2. I thought about combining the PHP and HTML but that would require multiple copies - close to 100 of the same HTML file......and that file is already big. 3. I don't know anything about AJAX! Thanks soc
  6. 1. I have an index.html page with hyper links on it. [u]link1 [/u] [u]link2 [/u] [u]getlist.php [/u] 2. The hyper links are/run/trigger php scripts....ex: getlist.php. 3. The php script queries a mysql database. 4. The results are produced and then viewed on a new web page. Question-problem: I want to imbed the results on the calling HTML page....i.e. index.html EXAMPLE : Output sought (Displayed on index.html): [u]link1 [/u] [u]link2 [/u] RESULTS of php code query of the mysql database should go here. aaaa(bbbb) " " etc. etc. Thank you
×
×
  • 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.