Jump to content

webren

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by webren

  1. Try using... [code]$sql_insert = "insert into payment_records values('$randcode', '$invoiceno', '$amount', $name', $email', $phone', $companyname', $billingaddress', '$billingpostcode', $addresschange'";[/code] ...if you're placing the values into all of the table columns.  If you're not placing the values into all of the columns in your table, then you need to specify which colums to insert by... [code]$sql_insert = "insert into payment_records(columns go here) values('$randcode', '$invoiceno', '$amount', $name', $email', $phone', $companyname', $billingaddress', '$billingpostcode', $addresschange')";[/code]
  2. Try closing your image tag: [code]<div style="position: absolute; top: 183px; left: 189px"><img src="http://www.runnerselite.com/image/training.jpg" /></div>[/code]
  3. You can try what feck did, and you can also place your entire HTML within the PHP script.  That way you don't have to constantly start and end PHP tags.
  4. An idea would be to store the value between your <title> and </title> tags into a variable and compare.  So you could have... [code]if ($title == "Index")   echo "You are at the main page."; else if ($title == "Page 1")   echo "You are at Page 1."; [/code] ...and so forth.
×
×
  • 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.