Category : phpmyadmin

I’m using laravel 8 framework. [using query to get values from table in and display it in checkbox, but when i select more than one it’s just display single not multiple. you can see this secreenshot][1] this is blabe php code with query. <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12"> <div class="form-group"> <strong>Students:</strong> <div style="margin-top: 5px" ..

Read more

I have freshly created laravel application which i am trying to connect to remote database but i’m getting an error. SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = tomsin1 and table_name = migrations and table_type = ‘BASE TABLE’) My .env file DB_CONNECTION=mysql DB_HOST=stud.if.ktu.lt DB_DATABASE=tomsin1 DB_USERNAME=tomsin1 DB_PASSWORD=ooShen4ooPaechad Sourc..

Read more

The application is hosted in Bluehost in a Shared hosting. I tried executing the below query in phpMyAdmin and the results works fine: SELECT employee_id , floor(Datediff(max(to_date), min(from_date))/365) As diif FROM `work_experiences` group by employee_id having floor(Datediff(max(to_date), min(from_date))/365) >=15 Below is my Laravel Query builder: $query->groupBy(’employee_id’); $query->havingRaw(‘Floor(Datediff(Max(to_date), min(from_date))/365) >=’.$filterOverralExperienceA); $query->havingRaw(‘Floor(Datediff(Max(to_date), min(from_date))/365) <=’. $filterOverralExperienceB); The above ..

Read more

Hi everyone i’m trying to subtract two values , for example {$a[‘total’]} and {$a[‘syb’]} , only by adding it to (td) tagg , first code ( showing one of the value total or syb <td class="amount" " > {$a[‘total’]} </td> After i did some changes as below <td id="demo" class="amount" > </td> the problem is ..

Read more

I have tried my best but unable to solve it, almost 2 days wasted. All other contents are updating except the completed question and points are updating when clicking on submit button but question not completed. When clicked on Submit button, the button got invisible but the addPointsAndMakeItCompleted not performing. If addPointsAndMakeItCompleted succussesful performed then ..

Read more

This is your docker-compose file to add "Phpmyadmin" you just have to the following commands that I will leave in "answer" For more information: https://laravel.com/docs/sail version: "3" services: laravel.test: build: context: ./vendor/laravel/sail/runtimes/8.0 dockerfile: Dockerfile args: WWWGROUP: "${WWWGROUP}" image: sail-8.0/app ports: – "${APP_PORT:-80}:80" environment: WWWUSER: "${WWWUSER}" LARAVEL_SAIL: 1 volumes: – ".:/var/www/html" networks: – sail depends_on: – ..

Read more

I need to store multiple images and text in different rows(in DB) please help me Thanks in Advance **Create Blade** <div class="card-header card-header-border-bottom " > <h2 class="text-center mt-2">Create Content</h2> </div> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> <script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <form action="{{ route(‘Content.store’) }}" method="POST" enctype="multipart/form-data"> @csrf <div class="form-group col-md-6"> <label for="exampleFormControlTextarea1">Image</label> <input type="file" name="image[]" class="form-control" id="exampleFormControlInput1" placeholder="Enter Contact phone"> ..

Read more