This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://techzaa.getappui.com/velonic/index.html | |
https://techzaa.getappui.com/velonic/layouts/tables-datatable.html | |
file:///C:/Users/Dell/Desktop/New%20folder/New%20folder/New%20folder/techzaa.getappui.comveloniclayoutstables-datatable.html | |
<html lang="en" data-bs-theme="dark" data-layout-mode="fluid" data-menu-color="dark" data-topbar-color="light" | |
data-layout-position="fixed" data-sidenav-size="default" class="menuitem-active"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Datatables | Velonic - Bootstrap 5 Admin & Dashboard Template</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Database | |
{ | |
private $localhost = "localhost"; | |
private $username = "root"; | |
private $password = ""; | |
private $database = "php_api_jwt"; | |
private $mysqli = ""; | |
private $result = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(empty($data_to_db['user_name'])) { | |
$_SESSION['errors']['user_name'] = "User name is required"; | |
} | |
if(empty($data_to_db['user_email'])) { | |
$_SESSION['errors']['user_email'] = "Email is required"; | |
} | |
if( filter_var( $data_to_db['user_email'] , FILTER_VALIDATE_EMAIL) ) { | |
$_SESSION['errors']['user_email'] = "Email is required"; | |
} | |
if (empty($data_to_db['password'])) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.freecodecamp.org/news/how-to-build-a-dropdown-menu-with-javascript/ | |
Multi Select Dropdown with Search in Bootstrap 5 https://codepen.io/mohan-aiyer/pen/gOWveJE | |
https://demos.codexworld.com/multi-select-dropdown-list-with-checkbox-jquery/ | |
https://www.youtube.com/watch?v=fZgGc9XoZ6U https://drive.google.com/file/d/152j7Er6q5MeFPQPpJ7XmqfQjCqRzBNmD/view | |
https://laraget.com/blog/select2-and-laravel-ajax-autocomplete | |
https://www.techiediaries.com/laravel-8-ajax-crud-modal-pagination/ | |
<!DOCTYPE html> | |
<!-- | |
Template Name: Stack - Stack - Bootstrap 4 Admin Template | |
Author: PixInvent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/38271551/why-does-if-statement-with-request-only-not-work-laravel | |
$request->only('name', 'age', 'cheese'); | |
// ['name' => 'Pingu', 'age' => '22', 'cheese' => 'gorgonzola'] | |
// Retrieve a portion of the validated input data... | |
$validated = $request->safe()->only(['name', 'email']); | |
$validated = $request->safe()->except(['name', 'email']); | |
add this function to our escaped blade statement: | |
https://stackoverflow.com/questions/78154387/laravel11-mysql-migration-problem-with-collation-general-error-1273-unknown-c | |
DB_COLLATION=utf8mb4_unicode_ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.itsolutionstuff.com/post/laravel-6-ckeditor-image-upload-exampleexample.html | |
https://stackoverflow.com/questions/32810231/add-public-to-asset-path-in-laravel | |
//https://www.positronx.io/laravel-drag-and-drop-image-file-upload-tutorial-with-example/ | |
Route::get('upload-ui', [FileUploadController::class, 'dropzoneUi' ]); | |
https://www.fundaofwebit.com/post/drag-and-drop-image-file-upload-in-laravel#google_vignette | |
https://dev.to/kingsconsult/how-to-upload-files-with-drag-n-drop-and-image-preview-in-laravel-8-using-dropzone-49hd | |
//https://phppot.com/javascript/dropzone-progress-bar/ | |
Route::post('file-upload', [FileUploadController::class, 'dropzoneFileUpload' ])->name('dropzoneFileUpload'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://medium.com/@sgandhi132/how-to-validate-an-api-request-in-laravel-35b46470ba88 | |
https://www.youtube.com/watch?v=IvKMPwybSKI | |
Final code of “LoginRequest.php” file | |
<?php | |
namespace App\Http\Requests; | |
use Illuminate\Foundation\Http\FormRequest; | |
use Illuminate\Http\Exceptions\HttpResponseException; | |
use Illuminate\Contracts\Validation\Validator; | |
class LoginRequest extends FormRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UserVerification extends Model | |
{ | |
// if your key name is not 'id' | |
// you can also set this to null if you don't have a primary key | |
protected $primaryKey = 'your_key_name'; | |
public $incrementing = false; | |
// In Laravel 6.0+ make sure to also set $keyType | |
protected $keyType = 'string'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://shouts.dev/articles/laravel-upload-large-file-with-resumablejs-and-laravel-chunk-upload | |
https://github.com/shoutsdev/laravel-file-upload-with-resumablejs/blob/main/resources/views/upload.blade.php | |
https://stackcoder.in/posts/php-resumable-large-file-uploads-in-chunks-using-flowjs | |
https://medium.com/@hassanrazadev/how-to-upload-large-files-in-laravel-web-application-bde34da8b242 | |
https://webdock.io/en/docs/how-guides/laravel-guides/laravel-chunked-upload-uploading-huge-files | |
https://techvblogs.com/blog/importing-large-csv-files-in-mysql-using-laravel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- | |
Template Name:: SmartAdmin PHP Responsive WebApp - Template built with Bootstrap 4 and PHP | |
Version: 4.5.3 | |
Author: Jovanni Lo | |
Website: https://smartadmin.lodev09.com | |
Purchase: https://wrapbootstrap.com/theme/smartadmin-php-responsive-webapp-WB05M9585 | |
License: You must have a valid license purchased only from wrapbootstrap.com (link above) in order to legally use this theme for your project. | |
--> |
NewerOlder