<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
<channel>
<title>input</title>
<link>http://www.computersight.com/tags/input</link>
<description>New posts about input</description>
<item>
<title>PHP Tutorial: Printing on the Screen</title>
<link>http://www.computersight.com/Programming/PHP/PHP-Tutorial-Printing-on-the-Screen.112786</link>
<description>
<![CDATA[<p>PHP is a script language commonly used by webmasters to design dynamic websites. Unlike HTML which has static content, PHP has dynamic content because of user interaction. Today, most of the qualified websites are designed by PHP or CGI.</p>
 
<p>PHP scripts embedded into the HTML codes. When someone checks the source code of the page, he doesn't get anything about PHP scripts. He only learns the HTML part of coding. This article is an introduction to PHP scripting language. One can find useful information and have enough knowledge after reading my PHP tutorial series. Without delay, I would like to start my script creation step by step.</p>
 
<p>Before starting, you should know that you have to set up PHP installations into your computer. Such installations are PHP itself, Phpmyadmin interface, Mysql database and Apache Server. Without these, your scripts are nothing since they are not compiled by your computer.</p>
 
<h3>Step 1:</h3>
 
<p>To write PHP scripts, we need a place. That place is a simple text editor. You are free to choose your text editor. I prefer  to use Notepad. There are other alternatives like Editplus or Elfima. If your operating system is not Windows but Linux, you can place your code into Vi editor or Pico. I have never tried but I think you can use Dreamveawer, Hotdog or Frontpage.</p>
 
<p>In your text editor, open an new file and save it as &amp;ldquo;myfirst.php&amp;rdquo; or &amp;ldquo;myfirst.html&amp;rdquo; . I choose the name of file as &amp;ldquo;myfirst&amp;rdquo; but you are free to choose anything.</p>
 
<h3>Step 2:</h3>
 
<p>I have told you before that PHP scripts are embedded into HTML codes. So, first of all we will write HTML codes. The basic codes are HTML, TITLE, HEAD and BODY. It can be written by lowercase letters as well. This part is not important.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/04/22/149028_0.jpg" alt="" /></p>
 
<p><strong>Step 3: </strong>All PHP scripts start with &amp;ldquo;  &amp;rdquo;. Only the part between two  is compiled by server and evaluated as output.To print characters on the screen, standart output functions of PHP are used. Those are &amp;ldquo; print &amp;rdquo; and &amp;ldquo; echo &amp;rdquo;. In some circumstances, &amp;rdquo; printf &amp;rdquo; is used too.</p>
 
<p>The format of printing:</p>
 <ol> 
<li> print  ( &amp;ldquo; your output &amp;rdquo; ) ;</li>
 
<li> print   &amp;ldquo; your output &amp;rdquo;  ;</li>
 
<li> echo &amp;ldquo; your output &amp;rdquo;  ;</li>
 
<li> echo ( &amp;ldquo; your outpu t&amp;rdquo; ) ; </li>
 </ol> 
<p>If you don't use any white space characters, the strings are written without any separation. For example if you write this code;</p>
 
<ul>
<li>Print ( &amp;ldquo; Word1 &amp;rdquo; ) ;</li>
 
<li>Print ( &amp;ldquo; Word2 &amp;rdquo; ) ;</li>
 
</ul>
<p>It will be outputted as Word1Word2.</p>
 
<p>To remove this fault,white space characters are used. In PHP code part, between print functions, we place &amp;lt; br &amp;gt; code.</p>
 
<p>Example: To be more understandable,I will write a simple PHP script. Output will be the name of my favorite Triond writers.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/04/22/149028_1.jpg" alt="" /></p>
 
<p>To see the output,<a href="http://learnphp.awardspace.biz/" target="_blank"> Click here.</a></p><a href="http://www.pheedo.com/click.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FProgramming%2FPHP%2FPHP-Tutorial-Printing-on-the-Screen.112786"><img src="http://www.pheedo.com/img.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FProgramming%2FPHP%2FPHP-Tutorial-Printing-on-the-Screen.112786" border="0"/></a>]]></description>
<pubDate>Tue, 22 Apr 2008 06:42:32 PST</pubDate></item>
<item>
<title>The Excel Spreadsheet 2: Input and Format of Data</title>
<link>http://www.computersight.com/Software/Microsoft-Office-Suite/The-Excel-Spreadsheet-2-Input-and-Format-of-Data.78842</link>
<description>
<![CDATA[<h3>INPUTTING AND FORMATTING DATA</h3>
 
<h3>Are The Correct Toolbars On?</h3>
 
<p>Now let's try creating a spreadsheet.  Before we begin, check that both the STANDARD and the FORMATTING toolbars are at the top of the screen.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_0.jpg" alt="" /></p>
 
<h3>If they are not:</h3>
 
<ul>
<li> go to the VIEW menu
   
<ul>
<li> click on TOOLBARS </li>
 
</ul>
</li>
 
</ul>
<p>Click in the <strong>Standard</strong> and <strong>Formatting </strong>checkboxes</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_1.jpg" alt="" /></p>
 
<h3>ENTERING DATA - START HERE!</h3>
 
<p>Enter all the data as shown in the worksheet below.  When you type in the title &amp;ldquo;PERSONAL SPENDING 2003&amp;rdquo; in cell A1, it doesn't matter if the cell doesn't appear wide enough to hold the text.</p>
 
<p>To let the computer know that you have finished a particular entry, you can either press the RETURN key, which will move you down to the next row, or press one of the Arrow keys, which moves you in the direction of the arrow.</p>
 
<p><strong>NOTE</strong>: Don't worry if your spreadsheet looks different from the one below.  You'll find out later how to change its appearance (for example, how to change column widths to fit your data).</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_2.jpg" alt="" /><a target="_blank"><strong></strong></a></p>
<p><a target="_blank"><strong>Adjusting Column Widths &amp;amp; Row Heights</strong></a></p>
 
<p>Some of the text in column A is too wide to fit the column. This is acceptable for a main heading (like PERSONAL SPENDING 2003 in row 1) but not for the text in other rows.  If we want to change the width of the column so that we can see the whole text, there are various ways to do this:</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_3.jpg" alt="" /></p>
 
<p>Position your cursor on the line between A and B until it changes into a black cross with two arrowheads.  You can then:</p>
 
<p><strong>Either:</strong> click and drag until the column becomes the required width, then release the mouse button.</p>
 
<p><strong>Or:</strong> simply double-click your mouse button.  The column will automatically adjust to the width of the longest entry. You can also set a column width by selecting the whole column, going to the Format menu, then Column, Width and entering the exact size you require.  Press OK.</p>
 
<p>Similarly, to adjust the height of a row, you can use the same click and drag method, or click on the number then Format, Row, Height, OK.</p>
 
<h3>Try adjusting the width of column A, then the height of row 15.</h3>
 
<p><a target="_blank"><strong>Changing Data In A Cell</strong></a></p>
 
<p>Although Excel looks quite different from Word, it has many of the same capabilities.  Look at the Excel toolbars; you will see several icons that look familiar - CUT, COPY, PASTE, BOLD, ITALIC, UNDERLINE and so on.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_4.jpg" alt="" /></p>
 
<p>If you know how to change the appearance of text in Word, you should be able to change the appearance of any data in Excel.  Simply select the cell or block of cells and click on the appropriate icon.  Try these changes:</p>
 
<p>Change the font size of the spreadsheet title (PERSONAL SPENDING 2003) to 14 point</p>
 
<p>Select all the month headings and make them Bold</p>
 
<p>Select all the expenses in column A and change their font from Arial to Times New Roman, size 12</p>
 
<p><a target="_blank"><strong>Alignment</strong></a></p>
 
<p>Notice how the spreadsheet has aligned the entries you have made.  All text is aligned to the left while all numbers are aligned to the right.  Try centering the heading in column E (OCT-DEC).  First select the appropriate cells - in this case E4 to E14 - then click on the Centre icon.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_5.jpg" alt="" /></p>
 
<p>Click somewhere else on the spreadsheet to deselect the cells E4:E14.</p>
 
<p><a target="_blank"><strong>Centring Titles across a Number of Columns</strong></a></p>
 
<p>We often centre the title across all the used columns. In this example we have used columns A to F.  Position the cursor in cell A1 and select all the cells across to F1, using one of the methods explained in section 1.4.  Click the &amp;ldquo;Merge &amp;amp; Centre&amp;rdquo; icon.  Deselect the block of cells.</p>
 
<p>The six cells A1 to F1 have now been merged into one cell and the title is centered across this area:</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_6.jpg" alt="" /></p>
 
<p><a target="_blank"><strong>Wrapping Text</strong></a></p>
 
<p>Look at row 3: the last entry &amp;ldquo;Yearly Totals&amp;rdquo; is much wider than necessary.  It would look better if the words were on top of each other instead of side by side.</p>
 
<p>To do this, select cell F3, then click on the FORMAT menu, followed by CELLS, then the ALIGNMENT tab.</p>
 
<p>Click in front of the checkbox called Wrap text, then on OK.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_7.jpg" alt="" /></p>
 
<p><a target="_blank"><strong>Changing Or Deleting Data In A Cell</strong></a></p>
 
<p>It turns out that there is a data error in this spreadsheet.  The figure for JAN-MAR Fares and Travel should be 127.63 not 217.63.  There are two methods of changing the contents of a cell:</p>
 
<p>Select the cell (B5), press DELETE and type in the correct figures</p>
 
<p>Select the cell, position your cursor on the FORMULA bar and click.  The cursor becomes an INSERTION BAR and you can now edit the entry as you would in Word.  When you have finished, you can press the ENTER key.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_8.jpg" alt="" /></p>
 
<p><a target="_blank"></a></p>
 
<h3>Changing The Size Of The Screen View</h3>
 
<p>If you find that your spreadsheet is so big that you can't fit all of it on the screen at the same time, you can adjust the PERCENTAGE VIEW of the sheet.  Look at the percentage shown near the right-hand end of the Standard Toolbar.  Click on the down arrow next to it and change to 75%.</p>
 
<p>If you prefer a percentage that is not in the list (e.g., 80%, 90%), click on the highlighted figure at the top, then type in your own preferred size.  Press ENTER.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_9.jpg" alt="" /></p>
 
<p>The spreadsheet on your screen should look like this:</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/01/31/106458_10.jpg" alt="" /></p>
 
<p>Before continuing, make the following changes:</p>
 
<p>Change the title size to 12 points. (NOTE:  Click in cell A1 to select the title)</p>
 
<p>Select all the month headings and turn off the Bold.</p>
 
<p>Select all of the expenses in column A and change their font from Times New Roman, size 12 to Arial, size 10</p>
 
<p>Change the figures for OCT-DEC back to right-aligned<br />Finally, save the file with the name <strong>SPEND.XLS</strong></p>
 
<p>Close the document.</p>
 
<p>NEXT: Calculating Totals and Editing Formulae</p><a href="http://www.pheedo.com/click.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FSoftware%2FMicrosoft-Office-Suite%2FThe-Excel-Spreadsheet-2-Input-and-Format-of-Data.78842"><img src="http://www.pheedo.com/img.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FSoftware%2FMicrosoft-Office-Suite%2FThe-Excel-Spreadsheet-2-Input-and-Format-of-Data.78842" border="0"/></a>]]></description>
<pubDate>Thu, 31 Jan 2008 07:22:44 PST</pubDate></item>
<item>
<title>The Input</title>
<link>http://www.computersight.com/Hardware/The-Input.39854</link>
<description>
<![CDATA[<p>
   Data or instructions entered into memory of computer .
 
  Input device is any hardware component used to enter data or instructions  
 </p>
 
 
 <h3>What are the two types of input?</h3>
 <p><ul>
  <li> Data</li>
 
    <li> Unprocessed text, numbers, images, audio, and video</li>
    <li> Instructions
    
      <li> Programs</li>
      <li> Commands</li>
      <li> User responses      </li>
     </ul></p>
   
 
 <h3>What input devices are available for those with physical limitations?</h3>
 <p><ul>
 <li>Key guard allows users to rest hands on keyboard without accidentally pressing keys</li>

  <li> Head-mounted pointer controls pointer on screen
 
    <li> New developments include gesture recognition and computerized implant devices    </li>
   </ul></p>
 
 
 <h3>What are recommended input devices for power users?</h3>
 
 <p><ul>
  <li> Enhanced keyboard or ergonomic keyboard
  
    <li> Mouse
    
      <li> Stylus and portable keyboard for PDA</li>
      <li> Pen for graphics tablet</li>
      <li> 48-bit 1200 × 1200 ppi color scanner</li>
      <li> 5- or 6-megapixel digital camera</li>
      <li> Headset that includes a microphone</li>
      <li> PC video camera      </li>
     </ul></p>
       
 
 <h3>What are recommended input devices for large business users</h3>
 
 <p><ul>
  <li> Enhanced keyboard or ergonomic keyboard
  
    <li> Mouse
    
      <li> Stylus and portable keyboard for PDA or digital pen for Tablet PC</li>
      <li> Touch screen</li>
      <li> Light pen</li>
      <li> 42-bit 1200 × 1200 ppi color scanner</li>
      <li> OCR/OMR readers, bar code scanners, MICR reader, or data collection devices</li>
      <li> Microphone</li>
      <li> Video camera for video conferences</li>
      <li> Fingerprint scanner or other biometric device      </li>
     </ul></p>
      
 
 <h3>What are recommended input devices for mobile users?</h3>
 
 <p><ul>
  <li> Wireless mouse for notebook computer
 
    <li> Trackball, touch pad, or pointing stick on notebook computer</li>
    
      <li> Stylus and portable keyboard for PDA or digital pen for Tablet PC</li>
      <li> 2- or 3-mega pixel digital camera</li>
      <li> Headset that includes a microphone</li>
      <li> Fingerprint scanner for notebook computer      </li>
     </ul></p>
     
 
 <h3>What are recommended input devices for small office/home office users (SOHO)?</h3>
 
 <p><ul>
  <li> Enhanced keyboard or ergonomic keyboard</li>
  
    <li> Mouse</li>
   
      <li> Stylus and portable keyboard for PDA or digital penfor Tablet PC</li>
      <li> 36-bit 600 × 1200 ppi color scanner</li>
      <li> 1- or 2-mega pixel digital camera</li>
      <li> Headset that includes a microphone</li>
      <li> PC video camera      </li>
     </ul></p>
     
 
 <h3>What are recommended input devices for home users?</h3>
 
 <p><ul>
  <li> Enhanced keyboard or ergonomic keyboard</li>
 
    <li> Mouse</li>
    
      <li> Stylus for PDA</li>
      <li> Joystick or wheel</li>
      <li> 30-bit 600 × 1200 ppi color scanner</li>
      <li> 1- or 2-mega pixel digital camera</li>
      <li> Headset that includes a microphone</li>
      <li> PC video camera</li>
      <li> Smart display      </li>
     </ul></p><a href="http://www.pheedo.com/click.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FHardware%2FThe-Input.39854"><img src="http://www.pheedo.com/img.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FHardware%2FThe-Input.39854" border="0"/></a>]]></description>
<pubDate>Fri, 20 Apr 2007 07:00:57 PST</pubDate></item>
</channel>
</rss>
