mrcodes

Joined August 2017

  • Administrator
  • Last seen: 2 weeks ago @ Thu, 03:31 pm

Status feeds started by mrcodes

How can I compare or check if all array values are the same in PHP?

How do you tackle a stubborn MySQLi issue where SELECT statments work and INSERT statements doesn't?


This below produces 'false'


$stmt = "INSERTINTO registered_customer (email) VALUES('hello')";
var_dump(
... See More

Hey guys, One of the strengths of Laravel is it's flexibility. The fact that a developer/developers achieve the objective in several ways. Well, My question is, what's the best way to do validation logic?

A. In the Controller

B. The Model or

C. Using Form Requests

In an ecommerce-related site, which would you develop first; A. Admin module B. Marketer module C. Buyer module

Wow, this is great! Welldone @dhtml! Team Africoders for life! Let the programming issues keep pouring in, we are right here to solve em all

Hello Wordpressers, I'm having an issue here; on the wp-login/ wordpress login page, after entering the correct username and password, and submitting, the page refreshes without logging in. But when I use wrong credentials, it displays an authentication error message as expected but no errors when info is correct. But it just refreshes and doesn't proceed to admin area. 

Hello, Please Laravel throws "Memory Size Exhausted" error on usage of get() or all() eloquent methods whether there are values in the db or not. But it gives expected result when I use the first() method. This is unsusual. Who can help?

E.g This 

    $transaction_history = Form::all(); // Produces the error
    dd($transaction_history);

or this

   $transaction_history = Form::get(); // Produces the error
   dd($transaction_history);

It's expected to product either null for no result or a collection of objects!

But this 

   $transaction_history = Form::first(); // Works fine

Hello, Please guys how do I get started with Web development on a Linux machine, easys step by step approach? Thanks

Back to top