I am new to Laravel. I was practicing setting up a blog in Laravel 6. I have a layout.blade.php file where all the basic HTML is written. In the content section of the layout.blade file, I want to @…
Tag: php
how to send multiple checkbox data with `|` delimeter using codeigniter form
I want to send multiple checkbox data using | delimiter in CodeIgniter form In my form, I use the checkbox to select multiple data: <form method="get" action="…
duplicate value on select2 tag on laravel blade template
I found a bug when i try to displayed data on select2 tag. I got duplicate data and I want to know how to fixed it. Im using laravel 7 and here’s my code This is my controller code: public function …
PHP file is not running in XAMPP server [closed]
I am running the php file in localhost and the browser (chrome) is showing the blank page then i inspect the code and found the php code or part is commented automatically. What can I do I am novice …
PHP array merging, ignore certain duplicated keys and let them be included in the inner created arrays
I’m merging together arrays with the same set inner array name, changing the key value to the order number then creating further inner arrays for items that are not duplicated with this code… …
Codeigniter 3 application bug: logged in user’s avatar does not update in real time
I am working on a basic blog application with Codeigniter 3.1.8 and Bootstrap 4. The application has user (author) accounts. There is a problem with displaying the photo (avatar) of the logged-in …
htaccess redirect profile page
I’m creating a system which shows your profile if you visit http://example.com/profile/profile.php?username=test I would like to make it so you could go to http://example.com/profile/test and it …
Distributing sequential array items as mixed
I have an ordered list from 1 to 15. I put these list items in a form and assigned a checkbox to each. An user can choose whatever he wishes from the items in this form. When the user fills in and …
Facing issue while using set_value() function in form_validation library in Codeigniter
I am using form_validation library in Codeigniter, I am facing an issue while using set_value() function. It not sets the value when an error occure in form validation. Here is my form ==> <div …
how do i search the data from two tables, they are not related
I am trying to build a search box to find out the similar title from 2 tables. Art Table- id Title Type Grants Table- id Title Type Right now I can only show the data from grants table, how do I …