16,020,741 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by winsderlich@yahoo.fr (Top 10 by date)
winsderlich@yahoo.fr
13-Apr-20 9:30am
View
It echoes me null
winsderlich@yahoo.fr
28-Mar-20 4:20am
View
THANKS
winsderlich@yahoo.fr
27-Mar-20 14:06pm
View
thanks for the help but justthe labels are displayed and not the chart itself
winsderlich@yahoo.fr
30-Jan-20 16:36pm
View
thanks for youe solution it helped me
winsderlich@yahoo.fr
27-Jan-20 6:34am
View
thanks trying to use parameters and them bind them
winsderlich@yahoo.fr
27-Jan-20 2:43am
View
i'm trying t understand what you said and this is what i did
$sql="INSERT INTO answers (AnswerText, AnswerStatus, QuestionId) VALUES ";
$total = count($answers_array);
$iterator = new ArrayIterator($answers_array);
//Iterate over the values in the object ArrayObject
while($iterator->valid()){
$currentItem = $iterator->current();
$sql .="('".$currentItem['AnswerText']."','".$currentItem['AnswerStatus']."','".$currentItem['QuestionId']."')";
$iterator->next();
$sql .= $iterator->key()? ',' : ';';
$sql=$con->prepare($sql);
$total=$sql->fetchColumn();
};
winsderlich@yahoo.fr
27-Jan-20 2:34am
View
$sql .="('".$currentItem['AnswerText']."','".$currentItem['AnswerStatus']."','".$currentItem['QuestionId']."')";// line 148
winsderlich@yahoo.fr
7-Jan-20 10:33am
View
thanks it have help me
winsderlich@yahoo.fr
3-Jan-20 4:55am
View
still a newbie to foreach and arrays
winsderlich@yahoo.fr
3-Jan-20 4:25am
View
sorry i'm not understanding your question
Show More