What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-08 06:35:17
how to get a variable outside the foreach loop
$date_array = array(); if( !empty($row_edit) ){ $stageDates = explode(', ',$row_edit['placement_stage_date']); foreach( $stageDates as $stageDate ){ //echo $stageDate.'<br/>'; $date_array[] = $stageDate; } } // print $sta... Add solution -
PHP 2022-03-02 11:25:15
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" method="post" encryption="">
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" method="post" encryption=""> Add solution -
PHP 2022-02-28 03:00:07
php document root
<?php echo $_SERVER['DOCUMENT_ROOT'].'/hello.html'; ?> Add solution -
PHP 2022-02-15 09:55:02
php post variables to another page with submit button php
<html> <form id="form" action="webAddressYouWantToRedirectTo.php" method="POST"> <input type="hidden" name="expectedPOSTVarNameOnTheOtherPage" value="<?php echo $varYouMadePreviously... Add solution