Click here to Skip to main content
15,884,298 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: benefit of using session id in url Pin
ZurdoDev13-Apr-15 4:22
professionalZurdoDev13-Apr-15 4:22 
QuestionComparing Back End Languages Pin
anaQata10-Apr-15 0:49
professionalanaQata10-Apr-15 0:49 
QuestionWHERE TO GET STARTED IN WEB DEVELOPMENT... Pin
anaQata9-Apr-15 0:33
professionalanaQata9-Apr-15 0:33 
Questionmy website why slow Pin
Member 115926808-Apr-15 21:17
Member 115926808-Apr-15 21:17 
SuggestionRe: my website why slow Pin
Richard MacCutchan8-Apr-15 22:21
mveRichard MacCutchan8-Apr-15 22:21 
Questionhow to preview docx file in java, struts2 architecture? Pin
Ananth Bhat8-Apr-15 9:10
Ananth Bhat8-Apr-15 9:10 
AnswerRe: how to preview docx file in java, struts2 architecture? Pin
Richard MacCutchan8-Apr-15 20:24
mveRichard MacCutchan8-Apr-15 20:24 
QuestionHow to OUTPUT using PDO and PHP Pin
Jassim Rahma8-Apr-15 8:48
Jassim Rahma8-Apr-15 8:48 
Hi,

I am trying to OUTPUT using PDO and MySQL but getting this error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1414 OUT or INOUT argument 7 for routine bizcards.sp_subscribe is not a variable or NEW pseudo-variable in BEFORE trigger' in /home/meskholdings/aromaexpress/web/send_subscription.php:27 Stack trace: #0 /home/meskholdings/aromaexpress/web/send_subscription.php(27): PDOStatement->execute() #1 {main} thrown in /home/meskholdings/aromaexpress/web/send_subscription.php on line 27
this is my code:
PHP
$mysql_query = $mysql_connection->prepare('CALL sp_subscribe(:param_first_name, :param_last_name, :param_birthday, :param_mobile, :param_email, :param_created_ip, :param_promotion_code)');

$mysql_query->bindParam(':param_first_name', $first_name, PDO::PARAM_STR);
$mysql_query->bindParam(':param_last_name', $last_name, PDO::PARAM_STR);
$mysql_query->bindParam(':param_birthday', $borthday, PDO::PARAM_STR);
$mysql_query->bindParam(':param_mobile', $mobile_number, PDO::PARAM_STR);
$mysql_query->bindParam(':param_email', $email_address, PDO::PARAM_STR);
$mysql_query->bindParam(':param_created_ip', $_SERVER['REMOTE_ADDR'], PDO::PARAM_STR);
$mysql_query->bindParam(':param_promotion_code', $promotion_code, PDO::PARAM_STR|PDO::PARAM_INPUT_OUTPUT);

$mysql_query->execute();

$data = $promotion_code;

Thanks,
Jassim[^]

Technology News @ www.JassimRahma.com

QuestionWant to know that how fetch data from excel and paste a unique code in 50 websites on a one common page. Pin
Member 115882647-Apr-15 8:31
Member 115882647-Apr-15 8:31 
QuestionMessage Closed Pin
6-Apr-15 20:31
SoftBuild6-Apr-15 20:31 
QuestionTemplate or anything similar Pin
t3cho3-Apr-15 9:03
t3cho3-Apr-15 9:03 
QuestionRe: Template or anything similar Pin
ZurdoDev3-Apr-15 10:18
professionalZurdoDev3-Apr-15 10:18 
AnswerRe: Template or anything similar Pin
t3cho5-Apr-15 3:21
t3cho5-Apr-15 3:21 
GeneralRe: Template or anything similar Pin
Richard MacCutchan5-Apr-15 5:41
mveRichard MacCutchan5-Apr-15 5:41 
GeneralRe: Template or anything similar Pin
t3cho5-Apr-15 9:10
t3cho5-Apr-15 9:10 
GeneralRe: Template or anything similar Pin
Richard MacCutchan5-Apr-15 21:52
mveRichard MacCutchan5-Apr-15 21:52 
GeneralRe: Template or anything similar Pin
t3cho6-Apr-15 2:06
t3cho6-Apr-15 2:06 
AnswerRe: Template or anything similar Pin
Richard Deeming7-Apr-15 2:58
mveRichard Deeming7-Apr-15 2:58 
Questionweb Pin
yome fisseha31-Mar-15 20:32
yome fisseha31-Mar-15 20:32 
AnswerRe: web Pin
den2k8831-Mar-15 20:55
professionalden2k8831-Mar-15 20:55 
AnswerRe: web Pin
Afzaal Ahmad Zeeshan31-Mar-15 22:11
professionalAfzaal Ahmad Zeeshan31-Mar-15 22:11 
AnswerRe: web Pin
King Fisher1-Apr-15 0:21
professionalKing Fisher1-Apr-15 0:21 
QuestionShould I choose Yii framework for PHP applications?How fast and secure is the framework? Pin
Elia Howard30-Mar-15 23:03
Elia Howard30-Mar-15 23:03 
AnswerRe: Should I choose Yii framework for PHP applications?How fast and secure is the framework? Pin
Richard MacCutchan30-Mar-15 23:16
mveRichard MacCutchan30-Mar-15 23:16 
AnswerRe: Features of Yii framework Pin
Jenny B Jones7-Apr-15 2:28
professionalJenny B Jones7-Apr-15 2:28 

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.