Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

laravel-4

Unique email with each type of user in Laravel

November 26, 2022 by Magenaut

I want to register many user with the same email but different type

Categories MySQL, Q&A Tags laravel, laravel-4, mysql Leave a comment

Laravel Eloquent compare date from datetime field

November 21, 2022 by Magenaut

I want to get all the rows from a table through an expression:

Categories MySQL, Q&A Tags datetime, laravel-4, mysql, php Leave a comment

Laravel 4.2 BIT datatype issue

November 20, 2022 by Magenaut

there is a bit(1) type column in database table. but its not working as i expected.

Categories MySQL, Q&A Tags bit, laravel-4, mysql Leave a comment

Laravel visitors counter

November 15, 2022 by Magenaut

I’m trying to build a visitors counter in Laravel….

Categories MySQL, Q&A Tags laravel-4, mysql, php Leave a comment

Friendship system with Laravel : Many to Many relationship

October 19, 2022 by Magenaut

I’m trying to create a Friendship system with Laravel (I’m starting with it) but I’m blocked with relationships. Here’s the thing : there is one table Users and one table Friends which contains the following columns :

Categories PHP, Q&A Tags eloquent, laravel-4, php Leave a comment

Laravel merge relationships

October 18, 2022 by Magenaut

Is there a way to merge 2 relationships in laravel?

Categories PHP, Q&A Tags eloquent, laravel-4, php, relationships Leave a comment

Use one Laravel migrations table per database

October 17, 2022 by Magenaut

I work in a project that uses multiple databases. It seems like Laravel only uses the migrations-table in the database that is set as default. I would like one migrations table per database that logs the migrations that have been done to that specific database. Is this possible?

Categories PHP, Q&A Tags database-migration, laravel-4, php Leave a comment

laravel compact() and ->with()

October 17, 2022 by Magenaut

I have a piece of code and I’m trying to find out why one variation works and the other doesn’t.

Categories PHP, Q&A Tags laravel-4, php Leave a comment

What is the syntax for sorting an Eloquent collection by multiple columns?

October 16, 2022 by Magenaut

I know that when using the query builder, it is possible to sort by multiple columns using

Categories PHP, Q&A Tags eloquent, laravel-4, php Leave a comment

Laravel change input value

October 16, 2022 by Magenaut

In laravel, we can get the input value via Input::get('inputname'). I try to change the value by doing this Input::get('inputname') = "new value";. But then, I get the error message saying Can't use function return value in write context.

Categories PHP, Q&A Tags input, laravel-4, php Leave a comment
Older posts
Page1 Page2 … Page86 Next →

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress