Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how add confirmation box in php before deleting

echo "<td><a onClick="javascript: return confirm('Please confirm deletion');" href='delete.php?id=".$query2['id']."'>x</a></td><tr>"; //use double quotes for js inside php!
Comment

PREVIOUS NEXT
Code Example
Php :: laravel get env variable 
Php :: wordpress on publish hook 
Php :: failed to open stream permission denied laravel 
Php :: php put file in ftp server 
Php :: get template part pass variable 
Php :: php get hour 
Php :: php include file in parent directory 
Php :: php bbcode tag dellete 
Php :: unique validation on update laravel 
Php :: intl extension php ubuntu 
Php :: disable register laravel 
Php :: php Access-Control-Allow-Origin 
Php :: TreeBuilder::getRootNode()" before creating the root node is not supported, migrate to the new constructor signature instead. 
Php :: php fpm status check 
Php :: yii2 htpp client form data 
Php :: php 7 to php 8 in ubuntu 20.04 
Php :: Laravel validation for checkboxes 
Php :: Print exact sql statement executed 
Php :: homebrew switch php 
Php :: array to stdclass object php 
Php :: laravel access controller method from another controller 
Php :: whats the meaninig of void functions in php 
Php :: laravel gigapay get single invoice 
Php :: unique laravel migration 
Php :: docker invalid port 80 
Php :: get current route laravel 
Php :: laravel install production 
Php :: acf get sub field 
Php :: wordpress get post taxonomy terms 
Php :: check php version 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =