Since you mention 'safe mode' I assume that you are running a Windows operating system. To resolve the upside down screen try using Ctrl/Alt/up arrow.
Are you able to get the boot menu to display by pressing F8 during startup (and before the Windows logo appears)?
It could be a faulty device driver that may be causing the problem. Have you added any new devices?
If you have a Windows installation DVD available, you could try doing a Repair by booting from it.

C++ might possibly get you a job but I suggest that you specialise a bit more and find a specific application of C++ that you can develop some kind of expertise in. for example finance, gaming or communications.

I have been able to answer my own question. The ListIndex property of the list box control can be set to the integer value of the list item. For example:-

lstBox.ListIndex = 3
Jx_Man commented: Good :) +14

I hear you, and I agree.
Here's an HTML form:

<html>
<head>
    <title>PHP_Email_Form</title>
</head>

<body>
<h1>PHP Email Form</h1>
<form action="EmailFormData.php" method="post" name="mailform">
<table align=center cellpadding=5 cellspacing=0>
   <tr>
       <td>First:</td>
       <td><input type="text" name="data1" size="12"></td>
   </tr>
   <tr>
       <td>Second:</td>
       <td><input type="text" name="data2" size="12"></td>
   </tr>
   <tr>
       <td>Third:</td>
       <td><input type="text" name="data3" size="12">
       <input type="submit" name="Send" value="Send">
       </td>
   </tr>
</table>
</form>
</body>
</html>

and here's the PHP script, EmailFormData.php:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
    <title>EmailTest01</title>
</head>

<body BGCOLOR=#0099FF>

<!-- This script is designed to be a simple email test -->

<?PHP 
# Create an empty message variable.
$message="";
# The mail that we want to use to receive the submitted information.
$to="YourEmailAddress@YourDomain";
$MailFrom = "FromAddressForDisplay@YourDomain";
# The E-Mail subject
$subject="This is a message from PHPEmailForm.html";
# iterate the $_POST array
foreach ($_POST as $key=>$value)
{
    $message.=$key.": " . $value . "\n";
}
# Send message by e-mail.
if($sm=mail($to, $subject, $message, "From: $MailFrom"))
{
   print("<B><CENTER><FONT COLOR=BLUE>Your email has been successfully sent</FONT></CENTER></B>\n");
}
else
{
   print("<B><CENTER><FONT COLOR=RED>OOPS. Something's gone wrong. Try debugging your script.</FONT></CENTER></B>\n");
}

?>

</body>
</html>

I've just added a bit of colour to the feedback.
I hope you like it.

LastMitch commented: Thanks for the nice update! +11

I think you've just learnt an important lesson. Always remember to paste what you want to save from the paste buffer, especially if it's a large amount of program code.
I find that opening a simple text editor and pasting text temporarily to it can be useful.
I must admit I had difficulty in following your question in the forum. Is English your first language?

If I was designing something like this, I would do it the other way around. By which I mean that, rather than inserting a row with empty columns, I would only insert rows that have data in each column, especially columns that are keys. When each new row is inserted you can query the database table to re-display the current rows then prompt for a new row's details (either at the bottom or at the top of the returned results).
I wasn't quite sure, from your interface image, how the number of blank rows was determined. Perhaps it was a static page rather than a dynamic one.

Hi Glenn. I'm not Canadian but I have visited Canada and think it's a lovely country. I hope you enjoy Daniweb.

Well I'm still using Windows XP on my home desktop and most of the pcs where I work are still on Windows XP. I must admit that I prefer XP to Windows 7, and I don't like the look of Windows 8 even though I have only read about it. I think that Jennifer's approach is reasonable. You've always got to take precautions but let's not be paranoid.

It looks to me like the country and army are one entity: you can't have an army without a country and you can't have a country without an army.
One country's army may have one or many 'Field Armies'.
General must be an entity because not all generals head a Field Army, but all Field Armies must have a General. Therefore each General may head one or no Field Army.
Field Marshall can be a property of a Country/Army because there is a one to one relationship between them.
I guess that Soldier must be an entity if information about each individual soldier needs to be stored (if not then the number of soldiers can be a property of Field Army). If Soldier is made an entity then the relationship between Soldier and Field Army must be such that a minimum of 90,000 and a maximum of 200,000 Soldiers may be related to any single Field Army.
NOTE: there are diagramming tools to describe the entity relationships, such as Violet which is a free Java written tool. If you have Microsoft Visio then that will be a good one too.

[QUOTE=daviddoria;1226279]You had me confused for a minute, but you have a classic mistake! Remove the semicolon at the end of the for statement:

i.e. change this
[code]
for (int count =0; count <= numberGrades; count++);
[/code]

to this:
[code]
for (int count =0; count <= numberGrades; count++)
[/code]

Dave[/QUOTE]

Also

[code]
for (int count =0; count < numberGrades; count++)
[/code]
will prompt the user for the correct number of grades.
The program was prompting for one more than the number the user had entered due to the zero-based start of the loop.