• Member Avatar for slyme
    slyme

    Replied To a Post in Problem including file twice in PHP script

    It just got a bit more odd ... So, I decided to `header('Location: page.php')` in the hope that requesting the page anew would solve the problem. It didn't. I had …
  • Member Avatar for slyme
    slyme

    Replied To a Post in Problem including file twice in PHP script

    The array is created when data.php is included - the array is the data in that file. Yes, that unset was a bit of a long shot.
  • Member Avatar for slyme
    slyme

    Replied To a Post in Problem including file twice in PHP script

    Thanks for taking a look diafol. I didn't lay out all of the code hoping that there was an obvious and glaring mistake with the general principle that I had …
  • Member Avatar for slyme
    slyme

    Created Problem including file twice in PHP script

    Two files to edit/maintain a data array. data.php looks something like this: <?php $data_array[0]['key1'] = 'value'; $data_array[0]['key2'] = 'value'; $data_array[1]['key1'] = 'value'; $data_array[1]['key2'] = 'value'; $data_array[2]['key1'] = 'value'; $data_array[2]['key2'] = …
  • Member Avatar for slyme
    slyme

    Created WordPress Plug-in failing

    I have a plug-in for a payment gateway for a WordPress installation with a WooCommerce shopping plug-in. The payment gateway plug-in fails at the checkout. The error message may be …
  • Member Avatar for slyme
    slyme

    Began Watching Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Replied To a Post in Apostrophes in SQL statement

    Yes, sorry about one and three looking the same ... I can't figure out how to get the inline code editor to display properly - here's three again: SELECT detail …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Edited Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Created Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for slyme
    slyme

    Replied To a Post in imagettfbbox dimensions - I'm obviously missing something!

    Hi, Diafol, Thanks for that link. It helped in so much as it gave me a slightly different formula to get the same result and most helpfully, for my confidence …
  • Member Avatar for slyme
    slyme

    Replied To a Post in getting 500 internal server error

    So, I'm guessing that it should be: `AuthUserFile "/home/machiahd/public_html/passwd/.htpasswds` However, if you want to be sure of the path, create a file called path.php and put this in it:`<?phpecho realpath("path.php"); …
  • Member Avatar for slyme
    slyme

    Replied To a Post in SQL SYNTAX

    I believe that it should look something like this: $my_conn = new mysqli('localhost', 'user name', 'password', 'database name'); $sql = "SELECT * FROM messages"; $result = $my_conn->query($sql); while ($obj = …
  • Member Avatar for slyme
    slyme

    Replied To a Post in getting 500 internal server error

    `AuthUserFile "/home/machiner/.htpasswds/public_html/passwd` looks a bit iffy to me (I could be wrong, very easily!). Should it be`AuthUserFile "/home/machiner/public_html/passwd/.htpasswds` perhaps?
  • Member Avatar for slyme
    slyme

    Edited imagettfbbox dimensions - I'm obviously missing something!

    Hi Everybody, I hope someone can help with this, it's taken so long to get this close but I just can't figure out the last small (but show stopping) detail. …
  • Member Avatar for slyme
    slyme

    Created imagettfbbox dimensions - I'm obviously missing something!

    Hi Everybody, I hope someone can help with this, it's taken so long to get this close but I just can't figure out the last small (but show stopping) detail. …

The End.