Click here to Skip to main content
13,766,204 members

Linux, Apache, MySQL, PHP

 
QuestionHow to access text data from parent form to child form Using $_SERVER['PHP_SELF'] Pin
Member 1369186129-Apr-18 13:27
memberMember 1369186129-Apr-18 13:27 
AnswerRe: How to access text data from parent form to child form Using $_SERVER['PHP_SELF'] Pin
Member 1393364531-Jul-18 23:02
memberMember 1393364531-Jul-18 23:02 
Questionbarcode generator code Pin
Mayuri Konde28-Apr-18 2:55
professionalMayuri Konde28-Apr-18 2:55 
AnswerRe: barcode generator code Pin
SiFinances28-Oct-18 2:45
memberSiFinances28-Oct-18 2:45 
QuestionHow to reduce the size of a php webpage form into POS-printer-friendly page Pin
Member 1369186126-Apr-18 6:26
memberMember 1369186126-Apr-18 6: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 6:22
memberMember 1369186126-Apr-18 6:22 
QuestionHow to use 4 digit incremental serial number on mysql database using PHP on my form Pin
Member 1369186126-Apr-18 3:16
memberMember 1369186126-Apr-18 3:16 
AnswerRe: How to use 4 digit incremental serial number on mysql database using PHP on my form Pin
Jochen Arndt26-Apr-18 3:31
mvpJochen Arndt26-Apr-18 3:31 
Computers don't know about leading zeroes. That is just a form of representing numbers to humans (being shown on screen, printed, or even written on a piece of paper).

So just use
$lastRow = $maxRows + 1;
If you want to show the number with leading zeroes, use a corresponding formatting function like PHP: sprintf - Manual[^]:
echo sprintf("%03d", $lastRow);

GeneralRe: How to use 4 digit incremental serial number on mysql database using PHP on my form Pin
Member 1369186126-Apr-18 3:42
memberMember 1369186126-Apr-18 3: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 3:13
memberMember 1369186126-Apr-18 3: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 3:49
protectorRichard MacCutchan26-Apr-18 3: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 3:11
memberMember 1369186126-Apr-18 3:11 
QuestionPassword Verify Pin
Valecia_cho30-Mar-18 14:32
memberValecia_cho30-Mar-18 14:32 
QuestionHow to call a reply forms using php. Pin
Member 1370467720-Mar-18 21:45
memberMember 1370467720-Mar-18 21:45 
Questiondynamic question in php and mysql Pin
Member 125903529-Feb-18 11:24
memberMember 125903529-Feb-18 11:24 
QuestionGet the html content from a website using php Pin
Joshin Joy17-Dec-17 21:51
groupJoshin Joy17-Dec-17 21:51 
AnswerRe: Get the html content from a website using php Pin
Jochen Arndt17-Dec-17 23:38
mvpJochen Arndt17-Dec-17 23:38 
GeneralRe: Get the html content from a website using php Pin
Joshin Joy18-Dec-17 21:15
groupJoshin Joy18-Dec-17 21:15 
GeneralRe: Get the html content from a website using php Pin
Jochen Arndt18-Dec-17 22:02
mvpJochen Arndt18-Dec-17 22:02 
GeneralRe: Get the html content from a website using php Pin
Member 1387615717-Jun-18 21:01
memberMember 1387615717-Jun-18 21:01 
Questionfunction to display content with php does not work as intended Pin
CHrispho15-Dec-17 10:46
memberCHrispho15-Dec-17 10:46 
AnswerRe: function to display content with php does not work as intended Pin
Jochen Arndt17-Dec-17 23:50
mvpJochen Arndt17-Dec-17 23:50 
QuestionChat functionality is not working when SSL is involved Pin
Member 135528281-Dec-17 18:15
memberMember 135528281-Dec-17 18:15 
AnswerRe: Chat functionality is not working when SSL is involved Pin
jschell5-Dec-17 13:29
memberjschell5-Dec-17 13:29 
AnswerMessage Closed Pin
20-Feb-18 1:12
memberMember 1368694520-Feb-18 1:12 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.181114.1 | Last Updated 9 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid