sugatshr
Posts by :
Rubik’s Cube Solver
Rubik’s Cube Solver
Funny things to write in exam
Men are Mammals and women are femammals. H2O is hot water, and CO2 is cold water. To collect fumes of sulfur, hold a deacon over a flame in a test tube. When you smell an odorless gas, it is probably carbon monoxide. Water is composed of two gins, Oxygin and […]
Cake Conventions
by sajt on February 25, 2007 This is the Cake Conventions from the old wiki site. tables names are plural and lowercased model names singular and CamelCased: ModelName model filenames are singular and underscored: model_name.php controller names are plural and CamelCased with *Controller* appended: ControllerNamesController controller filenames are plural and […]
PHP MySQL
Making connection to database <?php$con=mysql_connect(“server”,”username”,”password”);if(!con) { die(‘Could not connect: ‘. mysql_error()); }mysql_select_db(“database_name”, $con);?> Displaying record from table <?php$query=mysql_query(“SELECT * from tablename”);while($row=mysql_fetch_array($query)) { echo $row[‘field_name_1’]; echo $row[‘field_name_2’]; }mysql_close($con);?> Inserting record into table <!–php script & HTML form in one page: file name: filename.php–> <?phpif(isset($_GET[‘action’])&&$_GET[‘action’]==”add”) { $field_name_1=$_POST[‘field_name_1’]; mysql_query(“Insert into table_name […]
Learn Web Development and Graphic Design Online 100% Free
Learn Web Development and Graphic Design Online 100% Free Textbook Style Courses and Robust Reference Information for Webmasters Quality Video Tutorials Covering Popular Web Development Technologies Vector Art Training, 3D Graphics and Web Animation Training Steady Supply of Educational Material As Technologies Evolve Glossary of […]
Windows 7 Tips
Screen Lock Use Win+L keyboard shortcut OR Create a shortcut in desktopenter rundll32.exe user32.dll,LockWorkStation Click Next, name the shortcut ‘Lock’, and Finish. Shortcut to Run Program as Administrator Hold Ctrl+Shift and Click on a icon to run the application as an Administrator with full rights.
Must have firefox & Chrome extensions for Web developers and designers
Firebug Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page. http://www.getfirebug.com Colorzilla Advanced Eyedropper, ColorPicker, Gradient Generator and other colorful goodies. http://www.colorzilla.com MeasureIt On Draw a […]
Database design process
The design process consists of the following steps: Determine the purpose of your database – This helps prepare you for the remaining steps. Find and organize the information required – Gather all of the types of information you might want to record in the database, such as product name and […]