Search
 
SCRIPT & CODE EXAMPLE
 

PHP

create foreign key phpmyadmin

ALTER TABLE table_name
ADD CONSTRAINT fk_foreign_key_name
FOREIGN KEY (foreign_key_name)
REFERENCES target_table(target_key_name);
Comment

how to make primary key and foreign key in phpmyadmin

go to phpmyadmin
 select a table
  go to structure
  select the column you want to make primary
  click on the primary written beside check all
Comment

PREVIOUS NEXT
Code Example
Php :: list function php 
Php :: array filter php get first object 
Php :: enable phpmailer cpanel 
Php :: echo foreach 
Php :: Make livewire component 
Php :: php DateTime only date 
Php :: reset admin password magento 2 
Php :: woocommerce_product_query 
Php :: parameter to laravel seeder 
Php :: middleware in laravel 
Php :: php isset 
Php :: Remove White Space At Sides 
Php :: laravel eloquent relationships 
Php :: mailjet 
Php :: php strings 
Php :: What’s New in PHP 8 
Php :: laravel run function after forgot password 
Php :: how to create object in php 
Php :: laravel gate 
Php :: phpexcel 
Php :: php artisan migrate stuck 
Php :: php echo "<style" posts css text 
Php :: laravel dynamically add remove table row 
Php :: laravel This package is not auto-updated. Please set up the GitHub Hook for Packagist so that it gets updated whenever you push! 
Php :: join with 2 table where id match in table 1 comma separated 
Php :: Array unpacking support for string-keyed arrays - PHP 8.1 
Php :: laravel create registration bootstrap 
Php :: exe:/usr/local/bin/php 
Php :: php domdocument get elements one by one 
Php :: codeigniter 4 multiple validate error 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =