15,915,164 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 Javascript questions
View Visual Basic questions
View Python 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 Member 10626057 (Top 48 by date)
Member 10626057
20-Mar-14 3:06am
View
okie..
i'll upgrade it..
Member 10626057
20-Mar-14 2:48am
View
Deleted
any help plzz.. :(
Member 10626057
20-Mar-14 2:48am
View
any help plzz.. :(
Member 10626057
20-Mar-14 2:17am
View
Getting error
Fatal error: Call to a member function prepare() on a non-object
line $sql = $pdo->prepare
Member 10626057
20-Mar-14 2:03am
View
am using XAMPP 1.7.3
Member 10626057
20-Mar-14 1:40am
View
the problem is in this line
if (!($stmt = $mysqli->prepare($sql))) {
Member 10626057
20-Mar-14 1:24am
View
i'm getting an error
Fatal error: Call to a member function prepare() on a non-object
Member 10626057
19-Mar-14 14:50pm
View
thank u.. i'll try it :)
Member 10626057
19-Mar-14 14:11pm
View
sql injection?
Member 10626057
18-Mar-14 13:06pm
View
stil the same =/
Member 10626057
18-Mar-14 12:58pm
View
nt working =/
Member 10626057
17-Mar-14 11:32am
View
the size of the browser..
Member 10626057
16-Mar-14 4:38am
View
thank u :)
Member 10626057
16-Mar-14 3:36am
View
...
Member 10626057
16-Mar-14 3:14am
View
thank u :-)
but the examples r in .NET..
Member 10626057
15-Mar-14 3:51am
View
thank U ^^
Member 10626057
12-Mar-14 11:39am
View
i think u've not understd my question well..
anyway thank u..
Member 10626057
12-Mar-14 11:25am
View
your code is displaying only the lastname in the list.. not even the iD
Member 10626057
12-Mar-14 10:42am
View
i guess there is a problem with the editor --'
Member 10626057
12-Mar-14 9:35am
View
I have the codes to send back the updated values..
I want only the first part,i.e, info displayed in textboxes when i select the radio button..
=/
Member 10626057
12-Mar-14 9:13am
View
its not working..
getting Parse error: syntax error, unexpected '"', expecting ',' or ';'
Member 10626057
12-Mar-14 9:03am
View
yaa my code is in PHP..
thank u for ur help :)
Member 10626057
12-Mar-14 8:45am
View
the next step is
when i select a radio button i want all the information in the row to be displayed in textboxes so that i can update the information..
can you help plz..
Member 10626057
12-Mar-14 8:41am
View
<tr><td>
Lecturer ID:
</td>
";
while ($row=mysql_fetch_array($result)) {
echo "<option>".$row["lecturer_id"]."</option>";
echo $row["lecturer_lastname"] ;
}
echo "</select>"
?><br/>
It is displaying only the ID.. I want to display the name as well.. When i select 1 ID i want to get its corresponding name..
Member 10626057
12-Mar-14 8:29am
View
wow thank u Kozub Marcin..
Member 10626057
11-Mar-14 12:28pm
View
no i want a radio button for each row..
Member 10626057
11-Mar-14 12:21pm
View
i've retrieve data from my database and insert them in a table.. i want to add radio buttons at the end of each row..
<table class='TFtable'>
<tr>
<td>
Lecturer ID
</td>
<td>
Lastname
</td>
<td>
Firstname
</td>
</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['lecturer_id'] . "</td>";
echo "<td>" . $row['lecturer_lastname'] . "</td>";
echo "<td>" . $row['lecturer_firstname'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?></span>
Member 10626057
11-Mar-14 10:39am
View
I've already made the connection to the database..
; } ECHO "</select>"; is being displayed in my form..
Member 10626057
11-Mar-14 10:37am
View
I'm getting only the word "Choose" in my list.. The item from the database are not displayed..
Member 10626057
11-Mar-14 9:48am
View
am new to php.. javascript
i want a simple code..
I've tried the code below but it is displaying only the word "Choose" in my list
?php //connection
$sql="SELECT lecturer_lastname FROM lecturer";
$result=mysql_query($sql);
$options="";
while ($row=mysql_fetch_array($result)) {
$id=$row["lecturer_lastname"];
$options.="$id".;
}
?>
<SELECT NAME=thing>
<OPTION VALUE=0>Choose
</SELECT>
Member 10626057
11-Mar-14 9:45am
View
yaa i've already connected to the database..
stil it is displaying only "Choose" in the list.. not the values from my database..
Member 10626057
11-Mar-14 9:40am
View
Here is my code but only the word "Choose" is displayed in the list.. It does not retrieve any item from my database.. please help me
<!--?php ....
$sql="SELECT lecturer_lastname FROM lecturer";
$result=mysql_query($sql);
$options="";
while ($row=mysql_fetch_array($result)) {
$name=$row["lecturer_lastname"];
$options.="$name".;
}
??-->
<SELECT NAME=thing>
<OPTION VALUE=0>Choose
</SELECT>
Member 10626057
10-Mar-14 7:26am
View
:)
Member 10626057
10-Mar-14 7:11am
View
okie i'm a beginner.. sorry if i've troubled u..
thank you for ur help:)
Member 10626057
10-Mar-14 7:02am
View
no not asp.net
only html, javascript, php
Member 10626057
10-Mar-14 7:01am
View
can u copy the solution here..
plzz
i guess there is a problem with the editor..
Member 10626057
10-Mar-14 6:52am
View
although i click register OK it does not save anything
Member 10626057
10-Mar-14 6:47am
View
wat happen?
Member 10626057
10-Mar-14 6:41am
View
when i click on the button nothing happens..
Member 10626057
10-Mar-14 6:32am
View
function myfunction() {
var r=confirm("Are you sure to continue");
if (r==true) {
return true; }
else {
return false; }
}
<input type=submit name='Sign In' value="Register" button önclick="myfunction()">
this code adds the item in my database although i click CANCEL
Member 10626057
10-Mar-14 6:27am
View
function myfunction() {
var r=confirm("Are you sure to continue");
if (r==true) {
return true; }
else {
return false; }
}
<input type=submit name='Sign In' value="Register" button önclick="myfunction()">
Member 10626057
10-Mar-14 6:26am
View
function myfunction()
{
var r=confirm("Are you sure to continue");
if (r==true)
{
return true;
}
else
{
return false;
}
}
<input type=submit name='Sign In' value="Register" button önclick="myfunction()">
Member 10626057
10-Mar-14 6:11am
View
although i click CANCEL the item is added in my databse..
how can i change it?
Member 10626057
10-Mar-14 6:03am
View
I've tried all.. its not working :(
Member 10626057
7-Mar-14 3:45am
View
Its displaying
"; while($row = mysql_fetch_array($result)) { echo ""; echo ""; echo ""; } echo "
" . $row['lecturer'] . "
"; mysql_close($con) ?>
Member 10626057
3-Mar-14 11:57am
View
Deleted
this 1 save the file in a folder..
i want 1 which will display the content of the text file in the same webpage..
can you help me?
Member 10626057
3-Mar-14 11:42am
View
thank you :)
Member 10626057
27-Feb-14 0:53am
View
thx RK..
but whatever option i select i got the "invalid" message..
Show More