- Go to PHPMyAdmin
- Select Database
- Click Query Tab
Insert the following commands one by one make sure to change table_name with actual table name and column name with actual column name
First you need to remove foreign key from table.column
<?php | |
// routes/api.php | |
use Illuminate\Support\Facades\Route; | |
Route::prefix('v1')->group(base_path('routes/api/v1.php')); | |
Route::prefix('v2')->group(base_path('routes/api/v2.php')); |
// In your livewire blade | |
@php | |
// Get the current page number, default to 1 if not set | |
$currentPage = $dataSet->currentPage(); | |
// Get the number of items per page | |
$perPage = $dataSet->perPage(); | |
// Calculate the starting index | |
$i = ($currentPage - 1) * $perPage + 1; | |
@endphp |
<?php | |
namespace App\Providers; | |
use Illuminate\Cache\RateLimiting\Limit; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\RateLimiter; | |
use Illuminate\Support\ServiceProvider; | |
class AppServiceProvider extends ServiceProvider |
#### Update the following commands in wp-config.php | |
``` | |
define( 'WP_HOME', 'http://www.yoursitename.com' ); | |
define( 'WP_SITEURL', 'http://www.yoursitename.com' ); | |
``` | |
#### PHPMyAdmin SQL Query | |
``` |
Use the following command to initialize the repository
> git init
Use the following command to index repository
> git add .
#overlay{ | |
position:fixed; | |
z-index:99999; | |
top:0; | |
left:0; | |
bottom:0; | |
right:0; | |
background:rgba(255,255,255,1); | |
transition: 1s 0.4s; | |
} |
``` | |
$(window).scroll(function(){ | |
if($(window).scrollTop() + $(window).height() > $(document).height() - <?php echo( s3_option('s3cc_fixed_trigger') == '' ? 100 : s3_option('s3cc_fixed_trigger') );?>) { | |
$('.s3cc-fixed').css('position','static'); | |
}else{ | |
$('.s3cc-fixed').css('position','fixed'); | |
} | |
}); | |
``` |
If you have a Facebook page for your website or blog, you might want to display how many fans you have. This snippet will help you to get your Facebook fan count, in full text. Don’t forget to add your page ID on line 2. |