Search results

  1. G

    PHP do while command question?

    I am trying to set up a do while command for values that will be sent to my site with HTTP POST. The post values start at 1 and then increase if there are more and I am wondering how to properly add increments to read the post values. For example: $i = 1; $item.$i = $_POST['item_name'.'$i']...
  2. G

    PHP mysql_query question?

    In my script I have if($variable == 0 && $othervariable == 0) {mysql_query("INSERT INTO table_name VALUES ('x', 'x', 'x')"); then continues with two email scripts } variable and other variable are actually mysql_num_rows for two searches that I performed. Both emails get sent, and I have more...
  3. G

    PHP mysql_query question?

    In my script I have if($variable == 0 && $othervariable == 0) {mysql_query("INSERT INTO table_name VALUES ('x', 'x', 'x')"); then continues with two email scripts } variable and other variable are actually mysql_num_rows for two searches that I performed. Both emails get sent, and I have more...
  4. G

    PHP mysql_query question?

    In my script I have if($variable == 0 && $othervariable == 0) {mysql_query("INSERT INTO table_name VALUES ('x', 'x', 'x')"); then continues with two email scripts } variable and other variable are actually mysql_num_rows for two searches that I performed. Both emails get sent, and I have more...
  5. G

    PHP print array to .txt?

    I have an array being posted to a page on my website with HTTP POST. I am looking for advice on how to send that information to a .txt file.
  6. G

    PHP print array to .txt?

    I have an array being posted to a page on my website with HTTP POST. I am looking for advice on how to send that information to a .txt file.
  7. G

    PHP redirect browser?

    I have a self submitting form and when the information is sent to the database I want the browser to redirect. But from what I understand, because there is a form on the page header('Location: '); wont work. Is there any other way to redirect to say /index.php after the form is submitted? To...
  8. G

    PHP - PayPal IPN handler?

    I am having some trouble creating a handler. What I need is similar to what I would need if I was using a PayPal IPN handler. Here is my code: $time = date("m/j/Y g:i:s"); $email = $_POST['payer_email']; $item = $_POST['item_name']; $qty = $_POST['quantity']; $code = $_POST['key']...
  9. G

    PHP create scheduled events?

    I thought I had asked this before but got no answers and now cant find it in my history. I want my databases to update in a specific way at 12:01 am daily. The PHP to update the databases the way I want was easy. But I want them to update automatically without me being on the page and that is...
  10. G

    PHP create scheduled events?

    I thought I had asked this before but got no answers and now cant find it in my history. I want my databases to update in a specific way at 12:01 am daily. The PHP to update the databases the way I want was easy. But I want them to update automatically without me being on the page and that is...
  11. G

    PHP echo table data question?

    echo '<table><tr>'; $get = mysql_query("SELECT * FROM ncmallitems ORDER BY name ASC"); while($show = mysql_fetch_array($get)) { echo '<td valign="top"><table><tr><td><img src="' . $show['imgurl'] . '" border="0" width="80" height="80" alt="' . $show['name'] . '" /></td></tr><tr><td...
Back
Top