Click here to Skip to main content
15,883,901 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questionwhat is the difference between mysqli_stmt_fetch and mysqli_stmt_get_result Pin
piano001110-Jun-18 17:42
piano001110-Jun-18 17:42 
QuestionHow can I save a record into MySQL database while the data also prints on my POS printer Pin
Member 1369186123-May-18 8:03
Member 1369186123-May-18 8:03 
QuestionSimple PHP MYSQL query problem Pin
Johannes Moolman19-May-18 4:43
Johannes Moolman19-May-18 4:43 
AnswerRe: Simple PHP MYSQL query problem Pin
Jochen Arndt28-May-18 23:03
professionalJochen Arndt28-May-18 23:03 
AnswerRe: Simple PHP MYSQL query problem Pin
SiFinances28-Oct-18 0:58
SiFinances28-Oct-18 0:58 
QuestionProblem using accordian with table row Pin
Member 1382254218-May-18 22:23
Member 1382254218-May-18 22:23 
QuestionHow to access text data from parent form to child form Using $_SERVER['PHP_SELF'] Pin
Member 1369186129-Apr-18 12:27
Member 1369186129-Apr-18 12:27 
AnswerRe: How to access text data from parent form to child form Using $_SERVER['PHP_SELF'] Pin
Member 1393364531-Jul-18 22:02
Member 1393364531-Jul-18 22:02 
Let us assume that we have the following form.

PHP
<?php
echo '<form name="signUpForm1" method="POST" action="'.$_SERVER["PHP_SELF"].'">";
<input name="field1" type="textbox"></input> <?php /* lets say field1 value is "John" */
<input name="field2" type="textbox"></input> /* Lets say field2 value is "Doe" */
</form>
?>


and you wish to use the values from signUpForm1 in signUpForm2. much like below

PHP
<form name="signUpForm2">
<?php echo "Welcome ".$_POST[field1]." ".$_POST[field2]; /* This will echo John Doe */
$Username=$_POST[field1]." ".$_POST[field2]; /* Sets $Username as John Doe */
?>
<input type="textbox" name="User Name" value="<?php echo $Username;?>">


While I admit there may be some syntax errors with double and/single quotes, it should basically demonstrate the basic idea.

Just a note, if you use method="GET" then use
$_GET['field1']
or
$_GET['field2']

Questionbarcode generator code Pin
Mayuri Konde28-Apr-18 1:55
professionalMayuri Konde28-Apr-18 1:55 
AnswerRe: barcode generator code Pin
SiFinances28-Oct-18 1:45
SiFinances28-Oct-18 1:45 
QuestionHow to reduce the size of a php webpage form into POS-printer-friendly page Pin
Member 1369186126-Apr-18 5:26
Member 1369186126-Apr-18 5:26 
QuestionHow to make data entered on a form that has not been submitted into MySql database appear on another form Pin
Member 1369186126-Apr-18 5:22
Member 1369186126-Apr-18 5:22 
QuestionHow to use 4 digit incremental serial number on mysql database using PHP on my form Pin
Member 1369186126-Apr-18 2:16
Member 1369186126-Apr-18 2:16 
AnswerRe: How to use 4 digit incremental serial number on mysql database using PHP on my form Pin
Jochen Arndt26-Apr-18 2:31
professionalJochen Arndt26-Apr-18 2:31 
GeneralRe: How to use 4 digit incremental serial number on mysql database using PHP on my form Pin
Member 1369186126-Apr-18 2:42
Member 1369186126-Apr-18 2:42 
QuestionHow to use PHP global processing script action to process sumbitted data and display form data entered on the text on another page Pin
Member 1369186126-Apr-18 2:13
Member 1369186126-Apr-18 2:13 
AnswerRe: How to use PHP global processing script action to process sumbitted data and display form data entered on the text on another page Pin
Richard MacCutchan26-Apr-18 2:49
mveRichard MacCutchan26-Apr-18 2:49 
QuestionHow to use a php $_SERVER['PHP_SELF'] to insert form data into Mysql database and redisplay data entered on another form Pin
Member 1369186126-Apr-18 2:11
Member 1369186126-Apr-18 2:11 
QuestionPassword Verify Pin
Valecia_cho30-Mar-18 13:32
Valecia_cho30-Mar-18 13:32 
QuestionHow to call a reply forms using php. Pin
Member 1370467720-Mar-18 20:45
Member 1370467720-Mar-18 20:45 
Questiondynamic question in php and mysql Pin
antonio_dsanchez9-Feb-18 10:24
antonio_dsanchez9-Feb-18 10:24 
QuestionGet the html content from a website using php Pin
Joshin Joy17-Dec-17 20:51
Joshin Joy17-Dec-17 20:51 
AnswerRe: Get the html content from a website using php Pin
Jochen Arndt17-Dec-17 22:38
professionalJochen Arndt17-Dec-17 22:38 
GeneralRe: Get the html content from a website using php Pin
Joshin Joy18-Dec-17 20:15
Joshin Joy18-Dec-17 20:15 
GeneralRe: Get the html content from a website using php Pin
Jochen Arndt18-Dec-17 21:02
professionalJochen Arndt18-Dec-17 21:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.