Skip to content

Tag: mysql

Laravel Migration: “ERROR Class not found”

I’m new to Laravel, I’m building a small project with five tables: users, products, category, transactions, and a pivot table category_product. When I try to run the command Php artisan migrate I receive an error class “Transaction” not found here are the tables. User Table Reset Passw…

Too slow sql query [closed]

pls help me about this problem. I have two table, t1 with 50 000 row, t2 10 row, and the query is too slow. Any easiest way speed up? Thanks. $sql = $_db_->_sql_query(“SELECT date FROM t1 …

It’s only inserting the last value from a textarea

I’m placing a bunch of emails into a html textarea form. I need to insert the email addresses into my database so I’m using INSERT INTO but for some reason it’s only inserting the last value (email). I’m separating the emails with a line break when placing them into the textarea. (see …