How to get galleries relation of products table in InnerJoin?

|
aaminhashemi 2019-12-18 07:49:15
Hi everyone
Who can tell me strategy of implementing disposable discount code!?
codetrend 2019-12-18 08:08:32
rebory 2019-12-18 07:07:48
how i can connect mysql database from another server/cpanel in laravel

https://stackoverflow.com/questions/31847054/how-to-use-multiple-databases-in-laravel

just use your host name like example.com
it should work
please let us know if works..

How to use multiple databases in LaravelStack Overflow
I want to combine multiple databases in my system. Most of the time the database is MySQL; but it may differ in future i.e. Admin can generate such a reports which is use source of heterogeneous
Khoerulhumam 2019-12-18 11:48:06
help me, we are link odbc driver sql server 2005 ? please
Khoerulhumam 2019-12-18 11:50:09
anyone know odbc 2005 download? please share the link
rebory 2019-12-18 12:20:03
laravel_discuss-21533.jpg
how i connect laravell db connection from other server
skys215 2019-12-18 12:26:29
rebory 2019-12-18 12:20:03
how i connect laravell db connection from other server

What?

rebory 2019-12-18 12:26:58
skys215 2019-12-18 12:26:29
What?

Connect to remote mysql database

skys215 2019-12-18 12:27:26
rebory 2019-12-18 12:26:58
Connect to remote mysql database

Write api

rebory 2019-12-18 12:27:29
according to my requirements my website publlish on diff. domain
skys215 2019-12-18 12:27:53
You cannot share db connection using laravel to other server
rebory 2019-12-18 12:27:56
and i need to put db on different domain /cpanel
rebory 2019-12-18 12:28:24
what i do ?
rebory 2019-12-18 12:28:54
skys215 2019-12-18 12:27:53
You cannot share db connection using laravel to other server

any othe rsolution?

skys215 2019-12-18 12:30:30
You need to expose port to public, otherwise you can only connect in localhost
rebory 2019-12-18 12:32:19
skys215 2019-12-18 12:30:30
You need to expose port to public, otherwise you can only connect in localhost

how i dont no how i never do before that

skys215 2019-12-18 12:37:27
google that
🅳🅰️🅽🆂 2019-12-18 13:06:51
https://www.webtrickshome.com/content/laravel-overview

laravel overviewWebtrickshome
overview of laravel framework, laravel installation, application key, directory structure and their usages
2019-12-18 13:31:52
Hey, I have a question, for 6 levels referral system can I use relationships in models of referral
2019-12-18 13:35:45
I don’t understand how I can do referral system
skys215 2019-12-18 15:12:39
2019-12-18 13:35:45
I don’t understand how I can do referral system

Say you are inviting me
You send a link with your referral code
I click the link you send me, when i visit the link, save the referral code to cookie in order to preventing from loosing it
When submitting a form, search that code in database, and record that i was invited by you, and generate new code for me only
I do the same thing to invite third person.
So after all, the third person is inivited by me and i’m invited by you
Maybe you are invited by other person, search for 6 time and stop, then you get the 6-level referal system

brenolessaandrade 2019-12-18 17:05:21
Good morning, has anyone ever used nested transactions each with a different connection? Here is a problem here, which returns data that is saved, but actually it is not saved, an entire logic works, or the saved record is returned, but when the order is finalized it seems that the changes have not been finalized …
muhamed_didovic 2019-12-18 20:27:42
@brenolessaandrade what is the use case exactly?
brenolessaandrade 2019-12-18 21:03:12
I use two dbs in a application, so in a function that i use models from both dbs i need that when a exception occurs both dbs rollback, i made then a first transaction with the default db and a second transaction inside of the first one linked to the second db, most of the time it works, an error occurs both got rollbacked, but sometimes the function which i used the nested transaction runs, doesnt throw any exception, but the data simply its not there after it finishes executing…
2019-12-18 21:13:04
laravel_discuss-21569.jpg

2019-12-18 21:13:51
laravel_discuss-21570.jpg
whate problem ?
2019-12-18 21:14:49
laravel_discuss-21572.jpg
whate problem ?
2019-12-18 21:14:49
laravel_discuss-21571.jpg

2019-12-18 21:18:24
Please send the controller
2019-12-18 21:27:10
laravel_discuss-21575.jpg

2019-12-18 21:42:00
Is ok
muhamed_didovic 2019-12-18 21:47:59
@brenolessaandrade send us code so we can take a look
muhamed_didovic 2019-12-18 21:49:31
@Love_My_Shabnam run php artisan route:list
2019-12-18 22:04:24
I forget @csrf
2019-12-18 22:29:05
Hello guys

I am create a one project
my requirement

How to URL binding in laravel 🤔🤔

Mahdi_khani 2019-12-18 22:30:35
laravel_discuss-21585.jpg

Mahdi_khani 2019-12-18 22:31:12
Mahdi_khani 2019-12-18 22:30:35

How to get galleries relation of products table in InnerJoin??

Mahdi_khani 2019-12-18 22:34:02
Any body
brenolessaandrade 2019-12-18 23:13:11
muhamed_didovic 2019-12-18 21:47:59
@brenolessaandrade send us code so we can take a look

thanks for the help, already discovered the source of the problem, it was a deadlock…

skys215 2019-12-19 05:35:10
Mahdi_khani 2019-12-18 22:31:12
How to get galleries relation of products table in InnerJoin??

you need to use model, not db

LiceaPacheco 2019-12-19 05:40:56
skys215 2019-12-19 05:35:10
you need to use model, not db

not necessarily, remember that there are several ways to obtain data from the database, query builder, eloquent or vanilla SQL.

skys215 2019-12-19 05:49:45
LiceaPacheco 2019-12-19 05:40:56
not necessarily, remember that there are several ways to obtain data from the database, query builder, eloquent or vanilla SQL.

I mean when you want to use “with” function, you need to use eloquent, not DB

LiceaPacheco 2019-12-19 05:51:00
but in the model you can create the methods using any approach
skys215 2019-12-19 05:51:22
yes, but base are the same
LiceaPacheco 2019-12-19 05:51:35
if you use eloquently you have access to events
LiceaPacheco 2019-12-19 05:52:03
if you use query builder you gain performance
LiceaPacheco 2019-12-19 05:52:50
It depends what you are looking for, but in the end they all return collections
2019-12-19 07:23:50
Darshan Parekh:
Hello guys

I am create a one project
my requirement

How to URL binding in laravel 🤔🤔

Khoerulhumam 2019-12-19 07:31:45
help me please, how to make isntall composer offline ?
skys215 2019-12-19 07:40:06
Khoerulhumam 2019-12-19 07:31:45
help me please, how to make isntall composer offline ?

You can download it from oyher computer, and let composer copy from that folder i guess

skys215 2019-12-19 08:11:08
Write your own function?
|