Jump to content

phpweb

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by phpweb

  1. I am fairly new, but could you use Max(hits)?
  2. Hello. After I install Apache and PHP, I installed the newest version of mySQL (5.1). After I restart, Windows gives me an error. mysqld.exe must be closed etc.... mySQL 5.0 does not have this problem. I am on Windows XP Pro, SP3. Any Ideas?
  3. Here is what I am trying to do: $headers = "From: [email protected] <" .$from. ">\r\n" . 'X-Mailer: PHP/' . phpversion() . "\r\n" . "MIME-Version: 1.0\r\n" . "Content-Type: text/html; charset=utf-8\r\n" . "Content-Transfer-Encoding: 8bit\r\n\r\n"; $body = "HTML CODE WITH TONS OF PARENTHESES" example - <td width="10%" valign="top"><img src="img/menu.gif" width="405" height="30" border="0" usemap="#Map" /></td> Addslashes doesnt seem to work
  4. Yes, I did. Still did not work. PS, 'new' in your signature should be knew.
  5. Hello, I have created a page that I want emailed when someone orders somthing. When I try to copy the HTML code in the $body var., it does not work. There are multiple double parentheses which I think is causing the problem. I tried to exit out with the \, but nothing works. Any advise would be great.
  6. I would like my mail fuction, which is: mail($_SESSION['email'], $subject, $body, $header); I need $body to equal HTML code. Everything I have tried does not work. Thanks
  7. i have a form that has 2 buttons. Update and Confirm. Update processes a quantity and populates all fields just fine. When I press the Confirm button, I want it to check to see if the Update button was pressed successfully or to see if the $total var was set. But, once I press update and it populates, $total is set to, say 13.99. When I press Confirm, total is now 0. How to I make it a 2 step process, Press Update and generate all fields successfully, then press Confirm, checks to see if update was pressed and go to the next page. 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.