Jump to content

benanamen

Members
  • Content Count

    1,844
  • Joined

  • Last visited

  • Days Won

    34

benanamen last won the day on May 26

benanamen had the most liked content!

Community Reputation

110 Excellent

3 Followers

About benanamen

  • Rank
    Master Coder

Contact Methods

  • Website URL
    http://galaxyinternet.us/
  • Yahoo
    phpfreaks@galaxyinternet.us

Profile Information

  • Gender
    Not Telling
  • Interests
    Email me at phpfreaks@galaxyinternet.us

Recent Profile Visitors

4,253 profile views
  1. What is the real problem you are trying to solve by doing this?
  2. Get rid of all the space in your method calls.
  3. Op, could you tell us why you want to do this?
  4. That error could not have happened from a windows update. Post the code.
  5. Instead of spinning your wheels trying to configure your own dev just do what I told you and you will be up and running in seconds
  6. The easiest way to get a correct LAMP stack working for older php is to run Laragon Portable with Php 5.4 https://laragon.org/
  7. Not sure what you are doing with this, but you can easily generate a CSPRNG (Cryptographically secure pseudorandom number generator) in Php7 with minimal code. <?php $bytes = random_bytes(5); var_dump(bin2hex($bytes));
  8. This reminds me of the Bike Shed Problem.
  9. It just doesn't matter. MariaDB is a drop-in replacement for MySQL. If you really want to head down this path you might as well throw in the "What about Percona?" which is another drop-in replacement fork of MySQL.
  10. I ran the code and it works. The only problem is you need to change the error variable like so: echo mysqli_error($con); Add this to the top of your page: mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); If your still having problems it is likely with the path to $con. You need to check that ABSPATH ."resources/ points to where con.php is.
  11. Seems to me that whatever your file setup is, $con is not accessible to the file you have the function in. And your still missing the $con parameter for the error call. To avoid a lengthy thread, PM your code files to me and I will review them.
  12. $con is outside the scope of your function. The function does not know it exists. You need to pass $con to the function. I would suggest learning about variable scope. I would also highly recommend you turn on error reporting.
  13. As to the first, is $con supposed to be $conn? As to the second. You are missing the connection parameter.
×
×
  • 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.