Click here to Skip to main content
15,894,955 members
Home / Discussions / Web Development
   

Web Development

 
QuestionRe: activity diagram attendence mgmt system Pin
Richard MacCutchan1-Sep-13 2:58
mveRichard MacCutchan1-Sep-13 2:58 
Generalcreating an dropdown menu wirh css Pin
Member 1024504631-Aug-13 20:29
Member 1024504631-Aug-13 20:29 
AnswerRe: creating an dropdown menu wirh css Pin
Thomas Daniels1-Sep-13 4:02
mentorThomas Daniels1-Sep-13 4:02 
GeneralI developed a classic asp image drop down Pin
krullwarking29-Aug-13 9:40
krullwarking29-Aug-13 9:40 
GeneralRe: I developed a classic asp image drop down Pin
Richard MacCutchan29-Aug-13 21:20
mveRichard MacCutchan29-Aug-13 21:20 
QuestionBest Web Language For Project Pin
phil241528-Aug-13 23:52
phil241528-Aug-13 23:52 
SuggestionRe: Best Web Language For Project Pin
Richard Deeming29-Aug-13 2:36
mveRichard Deeming29-Aug-13 2:36 
QuestionlastInsertId() always returns ZERO Pin
Jassim Rahma27-Aug-13 11:29
Jassim Rahma27-Aug-13 11:29 
Hi,

I am trying to get the lastInsertId() in PDO but always getting it as ZERO. where is the problem?! here is my code:

PHP
$mysql_query = $mysql_connection->prepare($mysql_command); 
$mysql_query->bindParam(':param_member_email', $member_email, PDO::PARAM_STR); 
$mysql_query->bindParam(':param_member_first_name', $member_first_name, PDO::PARAM_STR); 
$mysql_query->bindParam(':param_member_last_name', $member_last_name, PDO::PARAM_STR); 
$mysql_query->bindParam(':param_member_password', $member_password, PDO::PARAM_STR); 
     
$mysql_query->execute(); 
         
$member_gallery_folder = "gallery/" . $mysql_connection->lastInsertId();  



Technology News @ www.JassimRahma.com

AnswerRe: lastInsertId() always returns ZERO Pin
Jassim Rahma27-Aug-13 11:33
Jassim Rahma27-Aug-13 11:33 
Questionreturn multiple OUT using PDO Pin
Jassim Rahma26-Aug-13 12:42
Jassim Rahma26-Aug-13 12:42 
QuestionPHP or ASP.Net for enterprise Pin
Santhoshpettacode26-Aug-13 4:37
professionalSanthoshpettacode26-Aug-13 4:37 
AnswerRe: PHP or ASP.Net for enterprise Pin
MartyrsCry27-Aug-13 13:11
MartyrsCry27-Aug-13 13:11 
GeneralRe: PHP or ASP.Net for enterprise Pin
Santhoshpettacode27-Aug-13 19:04
professionalSanthoshpettacode27-Aug-13 19:04 
QuestionGlobal file in PHP Pin
Jassim Rahma23-Aug-13 6:38
Jassim Rahma23-Aug-13 6:38 
AnswerRe: Global file in PHP Pin
MartyrsCry27-Aug-13 13:08
MartyrsCry27-Aug-13 13:08 
Questionoutlook.com-like top menu Pin
Jassim Rahma22-Aug-13 12:40
Jassim Rahma22-Aug-13 12:40 
AnswerRe: outlook.com-like top menu Pin
Richard MacCutchan22-Aug-13 21:16
mveRichard MacCutchan22-Aug-13 21:16 
GeneralRe: outlook.com-like top menu Pin
Jassim Rahma23-Aug-13 5:47
Jassim Rahma23-Aug-13 5:47 
GeneralRe: outlook.com-like top menu Pin
Richard MacCutchan23-Aug-13 6:09
mveRichard MacCutchan23-Aug-13 6:09 
Questiondatepicker always post 1970-01-01 Pin
Jassim Rahma22-Aug-13 12:28
Jassim Rahma22-Aug-13 12:28 
AnswerRe: datepicker always post 1970-01-01 Pin
Richard MacCutchan22-Aug-13 21:10
mveRichard MacCutchan22-Aug-13 21:10 
GeneralRe: datepicker always post 1970-01-01 Pin
Jassim Rahma23-Aug-13 8:10
Jassim Rahma23-Aug-13 8:10 
GeneralRe: datepicker always post 1970-01-01 Pin
Richard MacCutchan23-Aug-13 21:31
mveRichard MacCutchan23-Aug-13 21:31 
QuestionNeed help on making web service reference dynamic Pin
tpatel122-Aug-13 0:34
tpatel122-Aug-13 0:34 
QuestionExtra line in html table base on previous value of row Pin
JR21221-Aug-13 20:17
JR21221-Aug-13 20:17 

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.