<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8867042633770039560</id><updated>2011-11-28T09:47:02.620+08:00</updated><category term='shellcode'/><category term='rules'/><category term='Using left Join to change specific data'/><category term='Visual Basic Class for students'/><category term='how to split strings in textbox in vb'/><category term='Visual Basic Classes'/><category term='Run-Time error &apos;-2147217887 (8004Je21)&apos;'/><category term='C'/><category term='mysql select'/><category term='programming tips for students'/><category term='penetration testing'/><category term='Palindrome in C'/><category term='php select'/><category term='Hacking stories'/><category term='Database tutorial in vb'/><category term='being object oriented'/><category term='left join tutorial'/><category term='VB Crystal Report 10 tutorial'/><category term='Palindrome'/><category term='oop language'/><category term='mysql_fetch_array'/><category term='programmer'/><category term='programming students'/><category term='systems admin'/><category term='oop programming'/><category term='algorithm tutorials'/><category term='flowchart tips'/><category term='c++'/><category term='Palindrome program'/><category term='Wilkommen'/><category term='flowchart tutorials'/><category term='java'/><category term='ADODB tutorial'/><category term='php'/><category term='administrator'/><category term='left join'/><category term='multiple-step ole db'/><category term='Hacker'/><category term='VB 6 and Crystal Reports 10'/><category term='sql join tutorial'/><category term='oop'/><category term='programming tips'/><category term='C Language'/><category term='metasploit'/><category term='student tips'/><category term='vb'/><category term='ms access and vb tutorial'/><category term='object oriented'/><category term='C Programming Language'/><category term='Hacking'/><category term='exploit'/><title type='text'>Programming tips for Students</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-335866230535565367</id><published>2010-11-18T13:28:00.003+08:00</published><updated>2010-11-18T13:35:39.341+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='penetration testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='exploit'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='metasploit'/><title type='text'>Penetration testing with metasploit</title><content type='html'>Here's a little convincing tip for students, if you have a little free time and interested about hacking, try to learn these things:&lt;br /&gt;1. exploits&lt;br /&gt;2. shellcode&lt;br /&gt;3. linux&lt;br /&gt;4. C language (socket programming and pointers)&lt;br /&gt;5. buffer overflow&lt;br /&gt;6.a little knowledge of assembly language&lt;br /&gt;7. metasploit framework&lt;br /&gt;&lt;br /&gt;Googling about these things is a good step. I am thanking for the developers of metasploit and the contributors. Hope I can contribute someday. Metasploit framework is a powerfull tool for exploit development and penetration testing. Metasploit is extendable and versatile that you can add your customized exploit and payload.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-335866230535565367?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/335866230535565367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=335866230535565367' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/335866230535565367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/335866230535565367'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2010/11/penetration-testing-with-metasploit.html' title='Penetration testing with metasploit'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-1108642848478496134</id><published>2010-11-17T09:55:00.002+08:00</published><updated>2010-11-17T10:56:06.943+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Shellcode</title><content type='html'>First thing that pops in your mind when you here shellcode, is exploit.Not really but it is used in to complete the objective of exploit. First you will write shellcode in assembly language then include it in your exploit code. Shellcode are small piece of code in hexadecimal form. It is injected in exploited program to accomplish hacker's objective.The original term 'Shellcode' means to execute shell.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-1108642848478496134?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/1108642848478496134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=1108642848478496134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1108642848478496134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1108642848478496134'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2010/11/shellcode.html' title='Shellcode'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-312735942653828758</id><published>2010-04-13T16:56:00.003+08:00</published><updated>2010-04-13T17:46:24.225+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='systems admin'/><category scheme='http://www.blogger.com/atom/ns#' term='programmer'/><title type='text'>From programmer to Systems Administrator</title><content type='html'>It's been a long time since my last post. Now I had a little change on my career because I am now a Systems Administrator since Mar 01 2010. First I thought it was easy, but large amount of analytical skills is required for daily work. I am now in a different department of the bank so I am having a hard time adjusting and getting to know the process and the business in Trust Department. Still doing some programming jobs but ver minimal. One of the best things I like for my new job, is, I sometimes go home early. The advantage of that is, I study Java when I got home because I don't want to lose my skills in programming. The other good thing is, I am handling a powerful but simple system a little similar to my previous development project. As a programmer, I want to add all my favorite features of the system I'm handling now to my development project. If only i already knew this features before, I may be better for my previous job.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-312735942653828758?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/312735942653828758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=312735942653828758' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/312735942653828758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/312735942653828758'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2010/04/from-programmer-to-systems.html' title='From programmer to Systems Administrator'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-7267680118228244556</id><published>2009-09-29T18:12:00.003+08:00</published><updated>2009-09-30T12:42:55.235+08:00</updated><title type='text'>Relevance of Business process in software development</title><content type='html'>During college days, we are required to make a project in every subject, in programming subject we still need a documentation. My hatest part is writing about business background because I don't know what to write. When I start working as a programmer, first thing I did is to interview some accountants so I will know their process and how they do it in operation. I recorded the interview on my mp3 player then listened to it when I'm back at my desk (what a programmer knows about banking and corporate finance, bonds, shares, coupons etc???). With that, I have written a lot of descriptions, specification and technical documentation that helped understand the process, how they do their work even if it is beyond my expertise and helped me solved the problem. Having a business process study also contributes to the existing software (which is poorly documented by the maker) that I developed and made it easier for me whenever they want to add something or there changes in their business process.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-7267680118228244556?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/7267680118228244556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=7267680118228244556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/7267680118228244556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/7267680118228244556'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2009/09/relevance-of-business-process-in.html' title='Relevance of Business process in software development'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-4321114761398619243</id><published>2009-09-29T18:11:00.002+08:00</published><updated>2009-09-30T00:21:28.862+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oop programming'/><category scheme='http://www.blogger.com/atom/ns#' term='oop language'/><category scheme='http://www.blogger.com/atom/ns#' term='being object oriented'/><category scheme='http://www.blogger.com/atom/ns#' term='flowchart tips'/><category scheme='http://www.blogger.com/atom/ns#' term='object oriented'/><category scheme='http://www.blogger.com/atom/ns#' term='student tips'/><category scheme='http://www.blogger.com/atom/ns#' term='oop'/><title type='text'>Be Object oriented</title><content type='html'>When I am just starting to be a programmer, the way how I code is very procedural. Because as a begginer, I thought procedural is the simplest way and you can solve problems even not being an object oriented type of coder. Until I start working in a bank where I met complicated problems and still code the procedural way. I applied the way I code in C language which is a procedural language to a language that can create GUI. Eventually, I decided to learn a new language as my new skill, C++, an object oriented programming language. As I am studying C++, the book explained the true meaning of OOP that changed my mind and convinced me to make my project in object oriented way. At first I don't know exactly what is the difference between procedural and OOP, well, procedural has limitations while in OOP, you can create your own. This explanation really changed my way how I code: To solve a complicated problem, simulate the process by creating objects. For example, a radio composed of different parts or objects. You need to code for speaker, capacitor, antenna, tuner etc. to build a radio. You can download a capacitor which could be coded by others and adopt its functions and put it to your radio project to make it work. You can make objects in OOP just like what we have in real world. This way helped me solved complicated problems and make my application perform faster.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-4321114761398619243?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/4321114761398619243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=4321114761398619243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/4321114761398619243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/4321114761398619243'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2009/09/be-object-oriented.html' title='Be Object oriented'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-3742106373927283528</id><published>2009-06-24T00:24:00.006+08:00</published><updated>2009-06-24T01:16:20.027+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic Class for students'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips for students'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic Classes'/><title type='text'>Visual Basic 6 Classes</title><content type='html'>Hello,&lt;br /&gt;When I was new in VB 6, using Class looks alien to me and seems hard to do. But then I realized that making class is very very convenient for you even in the future projects. I started using classes this year. I suggest you to google about visual basic classes, buy a book, or search this PDF: Basic Introduction to classes written by Mike D Sutton of Edais. This is where I started and reading C++ book also adds knowledge about classes/class programming. Using Classes can reduce developing/coding time for future use or future projects. Using class also make your program easy to maintain. You can add class to your visual basic project by: in your visual basic 6.0 IDE menu bar(along with File, Edit etc..), click Project, then click Add Class Module. Note: Using Module is different from Class Module. If you want to program professionaly in VB 6, learn proper using of classes, this could be your first step and advancement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-3742106373927283528?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/3742106373927283528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=3742106373927283528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/3742106373927283528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/3742106373927283528'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2009/06/visual-basic-6-class.html' title='Visual Basic 6 Classes'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-1347798670103412770</id><published>2009-06-24T00:17:00.004+08:00</published><updated>2009-06-24T00:24:51.465+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming students'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>Happy 1st Anniversary</title><content type='html'>Hi, It's been a year since I started this blog. I felt sorry that I haven't post many of my solutions that I have done with my projects because of my hectic schedule as a programmer. But all of that is written and I'll post that eventually. Some of tips that I got regarding rare problems and solutions are in &lt;a href="http://www.experts-exchange.com/"&gt;http://www.experts-exchange.com/&lt;/a&gt;. I thank all of the guys there and in &lt;a href="http://www.vbforums.com/"&gt;http://www.vbforums.com/&lt;/a&gt; where I shared some solutions for the first time. I encouraged new programmers to be a member of these forums or others and read, read, and read. You can also ask some professional programmers/developers, It will help you a lot. Shalom!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-1347798670103412770?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/1347798670103412770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=1347798670103412770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1347798670103412770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1347798670103412770'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2009/06/happy-anniversary.html' title='Happy 1st Anniversary'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-546525222540639389</id><published>2009-03-09T16:16:00.003+08:00</published><updated>2009-03-09T16:28:33.000+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multiple-step ole db'/><category scheme='http://www.blogger.com/atom/ns#' term='Run-Time error &apos;-2147217887 (8004Je21)&apos;'/><title type='text'>Run-Time error '-2147217887 (8004Je21)'</title><content type='html'>&lt;img id="BLOGGER_PHOTO_ID_5311100377682625954" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 200px; CURSOR: hand; HEIGHT: 112px" alt="" src="http://1.bp.blogspot.com/_Rc0QidfMtVY/SbTRp3I3RaI/AAAAAAAAAE0/UKS_YTGZxKU/s200/Multiple-step+OLE+DB.JPG" border="0" /&gt;Multiple-step OLE DB operation generated errors. i encountered this error when uploading data from excel file straight to mssql database using ADODB. this is my simple solution: in my insert statement, i commented columns one by one and test insert query one at a time. until i reached the numeric data which will be uploaded to a numeric column, this is where run-time occurs. now i checked the columns in table and noticed that size of column is only numeric(10,2), so that i tried to changed it to numeric(14,2). Then run the test and all works fine, simple problem is solved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-546525222540639389?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/546525222540639389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=546525222540639389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/546525222540639389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/546525222540639389'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2009/03/run-time-error-2147217887-8004je21.html' title='Run-Time error &apos;-2147217887 (8004Je21)&apos;'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Rc0QidfMtVY/SbTRp3I3RaI/AAAAAAAAAE0/UKS_YTGZxKU/s72-c/Multiple-step+OLE+DB.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-705517892677105177</id><published>2009-02-13T09:22:00.008+08:00</published><updated>2009-02-13T09:46:39.635+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql select'/><category scheme='http://www.blogger.com/atom/ns#' term='php select'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql_fetch_array'/><title type='text'>Retrieving fields in mysql using php</title><content type='html'>I experienced this problem when im retrieving data in mysql database. It is my 1st time to use select statement in php. I've read in some tutorial in the net that, mysql_fetch_array() can retrieve your data from database. But now i used this --&gt; @mysql_fetch_array(); and it worked. I am using php 5 and the newest mysql version. This is my code:&lt;br /&gt;&lt;br /&gt;if the code below gives you some error, try my 2nd code&lt;br /&gt;&lt;br /&gt;$result = mysql_query("SELECT * FROM customer WHERE c_id = '$id'");&lt;br /&gt;if(!$result)&lt;br /&gt;{&lt;br /&gt;die(mysql_error());&lt;br /&gt;}&lt;br /&gt;while($row = mysql_fetch_array($result))&lt;br /&gt;{&lt;br /&gt;     echo $row['c_id'];&lt;br /&gt;     echo $row['c_comment'];&lt;br /&gt;     echo $row['c_name'];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;At the end, this is my 2nd code:&lt;br /&gt;&lt;br /&gt;$result = mysql_query("SELECT * FROM customer WHERE c_id = '$id'");&lt;br /&gt;if(!$result)&lt;br /&gt;{&lt;br /&gt;        die(mysql_error());&lt;br /&gt;}&lt;br /&gt;while($row = @mysql_fetch_array($result))&lt;br /&gt;{&lt;br /&gt;        echo $row['c_id'];&lt;br /&gt;        echo $row['c_comment'];&lt;br /&gt;        echo $row['c_name'];&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-705517892677105177?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/705517892677105177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=705517892677105177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/705517892677105177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/705517892677105177'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2009/02/retrieving-fields-in-mysql-using-php.html' title='Retrieving fields in mysql using php'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-5845077321043386526</id><published>2008-10-29T00:11:00.004+08:00</published><updated>2008-10-29T00:26:10.973+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='left join tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='left join'/><category scheme='http://www.blogger.com/atom/ns#' term='sql join tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Using left Join to change specific data'/><title type='text'>Using left Join to change specific data</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_Rc0QidfMtVY/SQc62zu9YxI/AAAAAAAAAEY/W72lJpYtBNo/s1600-h/sql+statement.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5262239402880230162" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 200px; CURSOR: hand; HEIGHT: 96px" alt="" src="http://2.bp.blogspot.com/_Rc0QidfMtVY/SQc62zu9YxI/AAAAAAAAAEY/W72lJpYtBNo/s200/sql+statement.JPG" border="0" /&gt;&lt;/a&gt; I encountered this problem during work. I accidentally edited a column(acctType) without having a parameter for where condition to specify an item to edit. The result is, all items in interest_table have changed its acctType to 'rt'. Now, all i have to do is to match it with other table. First, i looked for the relationship of the table or something in common with other table. Then i saw transaction_table. In this case, i used a simple update statement with left join. In other acctType, i used the same statement, but changed only 'rt' to necessary acctType.&lt;br /&gt;&lt;br /&gt;solution:&lt;br /&gt;UPDATE interest_table SET int_acctType = 'rt' FROM interest_table LEFT JOIN transaction_table on tu_number = int_number where tu_acctType = 'rt'&lt;br /&gt;&lt;br /&gt;Moral lesson for this story: don't forget to use WHERE if neccessary&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-5845077321043386526?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/5845077321043386526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=5845077321043386526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/5845077321043386526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/5845077321043386526'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/10/using-left-join-to-change-specific-data.html' title='Using left Join to change specific data'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Rc0QidfMtVY/SQc62zu9YxI/AAAAAAAAAEY/W72lJpYtBNo/s72-c/sql+statement.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-8262661454105805408</id><published>2008-10-10T22:27:00.005+08:00</published><updated>2008-10-10T23:52:06.669+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flowchart tips'/><category scheme='http://www.blogger.com/atom/ns#' term='flowchart tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='algorithm tutorials'/><title type='text'>draw the flow</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_Rc0QidfMtVY/SO9uz22lxUI/AAAAAAAAAD0/32t4ppZRbZY/s1600-h/draw+the+flowchart.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5255541127341524290" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_Rc0QidfMtVY/SO9uz22lxUI/AAAAAAAAAD0/32t4ppZRbZY/s200/draw+the+flowchart.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;When i was in college, i hate to draw flowcharts. i don't even believe that i can use that. in our school, we have to make projects in every subject. in my documentation there's a part called program design. Every process in our program we have to make a flowchart. When i got a job in an international bank as programmer, i draw pages of flowcharts. Learn to draw flowcharts. But in drawing flowcharts, know first the logic of the program. This will serve as your map in developing programs. This will be your logic flow to achieve your task or algorithm.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-8262661454105805408?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/8262661454105805408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=8262661454105805408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/8262661454105805408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/8262661454105805408'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/10/draw-flow.html' title='draw the flow'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Rc0QidfMtVY/SO9uz22lxUI/AAAAAAAAAD0/32t4ppZRbZY/s72-c/draw+the+flowchart.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-7667793044103588028</id><published>2008-09-18T18:35:00.008+08:00</published><updated>2008-09-19T08:41:00.432+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming tips for students'/><category scheme='http://www.blogger.com/atom/ns#' term='how to split strings in textbox in vb'/><title type='text'>how to split strings in textbox in vb</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_Rc0QidfMtVY/SNI2IWCVAEI/AAAAAAAAAC0/hoG2LX1ydws/s1600-h/string+splitter.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5247316032822247490" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_Rc0QidfMtVY/SNI2IWCVAEI/AAAAAAAAAC0/hoG2LX1ydws/s200/string+splitter.JPG" border="0" /&gt;&lt;/a&gt; i encountered this problem during my work. so this is the story:&lt;br /&gt;&lt;div&gt;our client bank is using a different system when uploading the data(accounts) we have extracted from our system. one main problem is the name field. our system uses one textfield for name but their system is using 2 fields for name(firstname and surname). then i used this work around to fit with their system:&lt;br /&gt;1. this one initializes the variables&lt;/div&gt;&lt;div&gt;Dim i As Integer &lt;/div&gt;&lt;div&gt;Dim b As String, c As String, d As String &lt;/div&gt;&lt;div&gt;Dim str2() As String&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;2. split string in text1 and assign it to array and text2 is ready to use for first name&lt;/div&gt;&lt;div&gt;str2 = Split(Text1, " ", , vbTextCompare) &lt;/div&gt;&lt;div&gt;Text2.Text = str2(0)&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;3. this assign the length of the string array to i and zero-out text3&lt;/div&gt;&lt;div&gt;i = UBound(str2) &lt;/div&gt;&lt;div&gt;Text3 = ""&lt;/div&gt;&lt;br /&gt;&lt;div&gt;4. this routine separates string from spaces&lt;/div&gt;&lt;div&gt;For a = 1 To i &lt;/div&gt;&lt;div&gt;If str2(a) &lt;&gt; "" Then &lt;/div&gt;&lt;div&gt;str2(a) = str2(a) &lt;/div&gt;&lt;div&gt;Else &lt;/div&gt;&lt;div&gt;a = a - 1 &lt;/div&gt;&lt;div&gt;End If &lt;/div&gt;&lt;div&gt;Next&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;5. re-assign the new value of i for use with the next routine.(printing of final strings)&lt;/div&gt;&lt;div&gt;i = UBound(str2) &lt;/div&gt;&lt;div&gt;If i &lt;&gt;i = 1 &lt;/div&gt;&lt;div&gt;Else &lt;/div&gt;&lt;div&gt;i = 2 &lt;/div&gt;&lt;div&gt;End If&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;6. this is the last routine, assign the strings collected in textbox&lt;/div&gt;&lt;div&gt;For a = 1 To i &lt;/div&gt;&lt;div&gt;Text3 = Trim(Text3 &amp;amp; " " &amp;amp; str2(a)) &lt;/div&gt;&lt;div&gt;Next&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;hope you learned from this little stuff.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-7667793044103588028?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/7667793044103588028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=7667793044103588028' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/7667793044103588028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/7667793044103588028'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/09/how-to-split-strings-in-textbox-in-vb.html' title='how to split strings in textbox in vb'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Rc0QidfMtVY/SNI2IWCVAEI/AAAAAAAAAC0/hoG2LX1ydws/s72-c/string+splitter.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-8449978419443294625</id><published>2008-08-04T12:00:00.005+08:00</published><updated>2008-08-04T12:36:55.492+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB 6 and Crystal Reports 10'/><category scheme='http://www.blogger.com/atom/ns#' term='VB Crystal Report 10 tutorial'/><title type='text'>Visual Basic 6 and Crystal Reports 10</title><content type='html'>I wrote this because I spend 2 weeks solving how to use Crystal 10 with VB because I thought passing parameter in Crystal 8 is the same with Crystal 10. Crystal has many new features but I still prefer using Crystal 8 for ease of use.&lt;br /&gt;In this tutorial, add 1 form to your project, add 1 button and two textbox&lt;br /&gt;1. First, go to Project&gt;references: Add Crystal ActiveX Report Viewer Library 10.0 and Crystal Reports ActiveX Designer Run Time Library 10&lt;br /&gt;2. go to Project&gt;Components: then add Crystal ActiveX Report Viewer Library 10&lt;br /&gt;3.add new form to your project then draw the Crystal ActiveX Report Viewer to the form.&lt;br /&gt;&lt;br /&gt;4.add this code to the form2:&lt;br /&gt;Private Sub Form2_Resize()&lt;br /&gt;crview.Top = 0&lt;br /&gt;crview.Left = 0&lt;br /&gt;crview.Height = Me.ScaleHeight&lt;br /&gt;crview.Width = Me.ScaleWidth&lt;br /&gt;End Sub&lt;br /&gt;this for the viewers flexibility&lt;br /&gt;&lt;br /&gt;5. add this code and put this on top of all (Declarations):&lt;br /&gt;dim appl as New CRAXDRT.Application&lt;br /&gt;dim rep as new CRAXDRT.Report&lt;br /&gt;6. declare these variables in button_click():&lt;br /&gt;Dim name as String, Address as String, ReportFile as String&lt;br /&gt;&lt;br /&gt;7. and assign these variables to textboxes also in button_click():&lt;br /&gt;name = Text1.text&lt;br /&gt;Address = Text2.text&lt;br /&gt;ReportFile = App.path &amp;amp; "\report.rpt" 'assuming that you have already designed your report.&lt;br /&gt;&lt;br /&gt;8.This is how you pass paramater to your report(also in button_click():&lt;br /&gt;Set rep = appl.OpenReport(ReportFile)&lt;br /&gt;rep.DiscardSavedData&lt;br /&gt;rep.ParameterFields(1).ClearCurrentValueAndRange&lt;br /&gt;rep.ParameterFields(1).AddCurrentValue(name)&lt;br /&gt;rep.ParameterFields(2).ClearCurrentValueAndRange&lt;br /&gt;rep.ParameterFields(2).AddCurrentValue(Address)&lt;br /&gt;Form2.show        'this is the 2nd form with Crystal Viewer&lt;br /&gt;&lt;br /&gt;9. Add this code to form 2 Load() event:&lt;br /&gt;crview.ReportSource = rep&lt;br /&gt;crview.EnableExportButton = True&lt;br /&gt;crview.Refresh&lt;br /&gt;crview.ViewReport&lt;br /&gt;&lt;br /&gt;Hope this tutorial gives you a lot idea about using crystal reports 10 and be able to use this with MS SQL or access,etc..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-8449978419443294625?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/8449978419443294625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=8449978419443294625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/8449978419443294625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/8449978419443294625'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/08/visual-basic-6-and-crystal-reports-10.html' title='Visual Basic 6 and Crystal Reports 10'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-1692295058846957759</id><published>2008-06-23T15:33:00.005+08:00</published><updated>2008-08-01T08:36:59.333+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database tutorial in vb'/><category scheme='http://www.blogger.com/atom/ns#' term='ms access and vb tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='ADODB tutorial'/><title type='text'>Basic Database programming in VB 6</title><content type='html'>I wrote a small tutorial for those who still use VB 6. Some people especially students or beginners think of an ADO controls when they heard of a database. But on my experience, a professional guy saw me using a data control and said it is not applicable and not efficient for larger business soft or application. Then he told me not to use a shortcut and made me do this:&lt;br /&gt;First, put 3 textbox on the form and 1 button. then:&lt;br /&gt;1. Add ActiveX Data Objects 2.0 (or later) as reference :&lt;br /&gt;    In VB 6 environment/IDE: go to Projects&gt; references&lt;br /&gt;&lt;br /&gt;2. Declare&lt;br /&gt;&lt;br /&gt;dim cn as ADODB.Connection&lt;br /&gt;&lt;br /&gt;dim rs as ADODB.Recordset&lt;br /&gt;&lt;br /&gt;3. Create connection string&lt;br /&gt;&lt;br /&gt;cn.ConnectionString = "Provider=Microsoft.Jet.Oledb.4.0;Data source= " &amp;amp; App.Path &amp;amp; "\db.mdb;Persist security info=False"&lt;br /&gt;cn.Open&lt;br /&gt;&lt;br /&gt;4. Open the table and query data you want to come out&lt;br /&gt;&lt;br /&gt;rs.Open "SELECT * FROM table1 WHERE name = '" &amp;amp; Text1.Text &amp;amp; "'", cn, adOpenKeyset, adLockBatchOptimistic&lt;br /&gt;&lt;br /&gt;5. Fill the fields with the date you queried from the database&lt;br /&gt;&lt;br /&gt;Text2.Text = rs.Fields("Name")&lt;br /&gt;Text3.Text = rs.Fields("age")&lt;br /&gt;&lt;br /&gt;Note: I used MS access database in this tutorial&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-1692295058846957759?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/1692295058846957759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=1692295058846957759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1692295058846957759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1692295058846957759'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/06/basic-database-programming-in-vb-6.html' title='Basic Database programming in VB 6'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-7613339040527011893</id><published>2008-06-23T10:35:00.003+08:00</published><updated>2008-12-13T17:07:06.463+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rules'/><category scheme='http://www.blogger.com/atom/ns#' term='c++'/><category scheme='http://www.blogger.com/atom/ns#' term='C'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='vb'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>Know The Rules and Constraint</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_Rc0QidfMtVY/SF8QHgE1-xI/AAAAAAAAACA/LVgM_ZPqvMc/s1600-h/programming.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5214904614573701906" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_Rc0QidfMtVY/SF8QHgE1-xI/AAAAAAAAACA/LVgM_ZPqvMc/s200/programming.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;To be a skillfull programmer, it is also very important to know the rules. How can you design or write programs efficiently if you don't know the rules? You can make applications fast and less debugging moments if you know the rules in what ever programming language you are using. While studying or reading a book or tutorial of programming, you can't remember all keywords but the rules are easy to remember. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-7613339040527011893?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/7613339040527011893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=7613339040527011893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/7613339040527011893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/7613339040527011893'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/06/know-rules-and-constraint.html' title='Know The Rules and Constraint'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Rc0QidfMtVY/SF8QHgE1-xI/AAAAAAAAACA/LVgM_ZPqvMc/s72-c/programming.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-601156653126316112</id><published>2008-06-20T11:41:00.003+08:00</published><updated>2008-06-20T11:47:32.758+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Palindrome'/><category scheme='http://www.blogger.com/atom/ns#' term='Palindrome in C'/><category scheme='http://www.blogger.com/atom/ns#' term='Palindrome program'/><title type='text'>Palindrome program in C</title><content type='html'>I used Borland C compiler in this small program. This program is my answer during my test when applying for software engineering job.&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;string.h&gt;&lt;br /&gt;/*Start*/&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char str1[20], str2[20];&lt;br /&gt;clrscr();&lt;br /&gt;printf("Input: "); scanf("%s",&amp;amp;str1);&lt;br /&gt;strcpy(str2,str1);&lt;br /&gt;printf("%s\n",strrev(str2));&lt;br /&gt;if(strcmp(str1,str2)==0) { &lt;br /&gt;printf("String is Palindrome");&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;printf("Not Palindrome");&lt;br /&gt;getch();&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;/*end*/&lt;br /&gt;&lt;br /&gt;There are many styles and ways in making a palindrome, it's up to you how you think or how good you are. Good programmers can make this small code complicated and hard to understand.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-601156653126316112?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/601156653126316112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=601156653126316112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/601156653126316112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/601156653126316112'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/06/palindrome-program-in-c.html' title='Palindrome program in C'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-3354838736910887618</id><published>2008-06-20T11:35:00.000+08:00</published><updated>2008-12-13T17:07:06.655+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacker'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking stories'/><title type='text'>Cyber Wars</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_Rc0QidfMtVY/SFslmA2AoxI/AAAAAAAAAB4/kUkroUmOV_k/s1600-h/chinavuscomputers.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5213802328603271954" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_Rc0QidfMtVY/SFslmA2AoxI/AAAAAAAAAB4/kUkroUmOV_k/s200/chinavuscomputers.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_Rc0QidfMtVY/SFsj_q9RHfI/AAAAAAAAABw/MEYc76AvglU/s1600-h/chinavuscomputers.jpg"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;In the world today, China is known as one of the giants when it comes to Business(especially in the Philippines.). China today is also being known when it comes to electronics and technology. As a programmer, I also admire these guys when it comes to programming and hacking. Using technology as first in line defense of the country is very very important. Lately in the news, China is using Internet as surveilance medium(just like playing China in Command &amp;amp; Conquer Generals). There was an American Software Developer hired by their government to track down hackers getting in to the U.S.' servers. These guys are believed getting important documents, plans and softwares. The U.S. hired hacker tracked that the hackers are from China and later figured out that they pretend that they came from korean servers to divert and not to be tracked. American hacker put a bug in the router where Chinese hackers pass and the logs are emailed to American hacker to know how many times and what time they attack the U.S.'s servers.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-3354838736910887618?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/3354838736910887618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=3354838736910887618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/3354838736910887618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/3354838736910887618'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/06/cyber-wars_20.html' title='Cyber Wars'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Rc0QidfMtVY/SFslmA2AoxI/AAAAAAAAAB4/kUkroUmOV_k/s72-c/chinavuscomputers.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-6577336039130326265</id><published>2008-06-16T12:55:00.003+08:00</published><updated>2008-12-13T17:07:06.763+08:00</updated><title type='text'>Apply for Programming Job</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_Rc0QidfMtVY/SFX5O_9A6hI/AAAAAAAAABo/qoAayi-mWwM/s1600-h/programmer-at-pc.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5212346179832048146" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_Rc0QidfMtVY/SFX5O_9A6hI/AAAAAAAAABo/qoAayi-mWwM/s200/programmer-at-pc.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;During my OJT in a toothpaste company, I applied for a software engineering job near my Dad's Office. The test is fun and here are some of the common test they might give you when applying for a SE/Programming Job. :&lt;br /&gt;1. Make a Palindrome - for those who doesn't know, palindrome is a word that is spelled the same even reading it backwards. (example: "radar")&lt;/div&gt;&lt;div&gt;2. Input 10 string then after inputing all, print the words alphabetically&lt;/div&gt;&lt;div&gt;3. Search key - Input a string then input a search key(letter in a string inputed) then the program will count the number of search key inside a string inputed.&lt;/div&gt;&lt;div&gt;example: &lt;/div&gt;&lt;div&gt;String: "Stigmatized"&lt;/div&gt;&lt;div&gt;key: i&lt;/div&gt;&lt;div&gt;answer is: 2&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;I wrote these questions on my hand(summary) while taking up the test to study it at home because I experienced difficulties when taking up these questions and solving it on a paper. These should be a lesson for IT/Compsci students that you should practice a lot. You don't have to remember all those keywords and functions in a Programming Language but at least read and practice so it makes you familliar in all keywords, functions and techniques. I learned a lot from these experience and really helped me from coping up. The Laguage I used here is Java and C.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-6577336039130326265?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/6577336039130326265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=6577336039130326265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/6577336039130326265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/6577336039130326265'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/06/apply-for-programming-job.html' title='Apply for Programming Job'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Rc0QidfMtVY/SFX5O_9A6hI/AAAAAAAAABo/qoAayi-mWwM/s72-c/programmer-at-pc.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-425135378989227285</id><published>2008-06-12T12:50:00.004+08:00</published><updated>2008-12-13T17:07:06.933+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C'/><category scheme='http://www.blogger.com/atom/ns#' term='C Language'/><category scheme='http://www.blogger.com/atom/ns#' term='C Programming Language'/><title type='text'>C Language</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_Rc0QidfMtVY/SFCqCiCIW7I/AAAAAAAAABg/_C5uBdgjB30/s1600-h/c_for_speed.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_Rc0QidfMtVY/SFCqCiCIW7I/AAAAAAAAABg/_C5uBdgjB30/s200/c_for_speed.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5210851729339866034" /&gt;&lt;/a&gt;C Language is the first programming language I've learned when I was in First Year College. At first I found the language very difficult. One very good thing that gave me a drive to study C all by myself is that, C language, as a General Purpose Programming Language, is being used to hack systems. Yes! hack as in intruding in someone's PC, Network or even servers or routers. A guy named Dennis Ritchie is the one who developed C Language&lt;a href="http://www.engin.umd.umich.edu/CIS/course.des/cis400/c/c.html"&gt;(History)&lt;/a&gt;.  C Language is a procedural language which is very easy to learn. But I suggest that it is very very important that you have interest in learning these for you to be able to master the C programming Language. I Bet! this is Fun!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-425135378989227285?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/425135378989227285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=425135378989227285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/425135378989227285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/425135378989227285'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/06/c-language.html' title='C Language'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Rc0QidfMtVY/SFCqCiCIW7I/AAAAAAAAABg/_C5uBdgjB30/s72-c/c_for_speed.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8867042633770039560.post-1770212080588355346</id><published>2008-05-12T13:25:00.003+08:00</published><updated>2008-12-13T17:07:07.100+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wilkommen'/><title type='text'>Welcome To Programming Students</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_Rc0QidfMtVY/SCfU9Rww_NI/AAAAAAAAAAY/wmKsaFbx3VA/s1600-h/icon.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5199358444027575506" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 99px; CURSOR: hand; HEIGHT: 123px" height="139" alt="" src="http://3.bp.blogspot.com/_Rc0QidfMtVY/SCfU9Rww_NI/AAAAAAAAAAY/wmKsaFbx3VA/s200/icon.JPG" width="124" border="0" /&gt;&lt;/a&gt; Greetings, welcome to my blog about programming. I am Gian Paolo Balaag, work as a programmer in a Bank and also works freelance in making webpages with dreamweaver,photoshop and php. I am Hoping to interconnect IT/comsci students, beginners in programming and people who are interested in programming. Feel free also to take a look at my simple &lt;a href="http://programming.esmartstudent.com/"&gt;site.&lt;/a&gt; Thank You&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8867042633770039560-1770212080588355346?l=programmingstudent.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingstudent.blogspot.com/feeds/1770212080588355346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8867042633770039560&amp;postID=1770212080588355346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1770212080588355346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8867042633770039560/posts/default/1770212080588355346'/><link rel='alternate' type='text/html' href='http://programmingstudent.blogspot.com/2008/05/welcome-to-programming-students.html' title='Welcome To Programming Students'/><author><name>Programming tips for students</name><uri>http://www.blogger.com/profile/11223650571127054908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Rc0QidfMtVY/SCfU9Rww_NI/AAAAAAAAAAY/wmKsaFbx3VA/s72-c/icon.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
