Sunday, January 27, 2019

Hyperlink Selector in PHP

A very simple program that I wrote to fix the code of my client in PHP to use a hyperlink to pass a value from one page to another page using HTML and PHP. I hope you will find my work useful. Thank you.

I am currently accepting programming work, it projects, school and application development.

programming projects, thesis and capstone projects, IT consulting.

work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com




Sample Program Output


Program Listing

index.php

<html>
<title>
Hyperlink pass a value in PHP to another Page
</title>
<style>
body {
font-weight: bold;
font-family: arial;
    font-size:25px;

}
</style>
<body>
<br>
<h2> Hyperlink Selector in PHP </h2>
<br>
<a href="demo.php?data=Hamburger&data1=50"
title="Click here to choose Hamburger">
Hamburger
</a> <br><br>
&nbsp;&nbsp;PHP 50
<br><br>
<a href="demo.php?data=French Fries&data1=35"
title="Click here to choose French Fries">
French Fries
</a> <br><br>
&nbsp;&nbsp;PHP 35
<br><br>
<a href="demo.php?data=Spaghetti&data1=70"
title="Click here to choose Spaghetti">
Spaghetti
</a> <br><br>
&nbsp;&nbsp;PHP 70

</body>
</html>


demo.php

<html>
<title>
Hyperlink pass a value in PHP to another Page
</title>
<style>
body {
font-weight: bold;
font-family: arial;
    font-size:25px;

}
</style>
<body>
<br>
<h2> Selected Meal </h2>
<br>

<?php
    if(isset($_GET["data"]) && isset($_GET["data1"]))
    {
        $data = $_GET["data"];
        $data1 = $_GET["data1"];
    }

    echo "Meal  : ".$data;
echo "<br><br>";
    echo" Price : ".$data1;
?>

</html>

Thursday, January 24, 2019

Count Down Timer in Arduino

A simple program that I wrote using C in Arduino with the use of TM1637 seven-segment LCD display to perform count down. The code is very simple and easy to understand. I hope you will find my work useful. Thank you.

I am currently accepting programming work, it projects, school and application development.

programming projects, thesis and capstone projects, IT consulting.

work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com




                                                               Sample Program Output


Program Listing

/* Countdown timer in Arduino using seven segment LED
 *  Written By Mr. Jake R. Pomperada,MAED-IT
 *  January 24, 2019     8:21 PM  Thursday
 *  Bacolod City, Negros Occidental
 *  jakerpomperada@gmail.com
 */
#include "TM1637.h"

#define CLK 3
#define DIO 2

TM1637 disp(CLK,DIO);

void setup()
{
  disp.set(5);
  disp.init(D4056A);
}

void loop() {
  int a=2000;

  while (a>=1 ) {
  disp.display(a);
  delay(20);
  a-=1;
  if (a==1) {
    break;
  }
  }
}


DOWNLOAD SOURCE CODE HERE



Monday, January 21, 2019

Swap of Two Numbers in Python

A very simple program that I wrote using Python to swap the arrangement of the two numbers.

I am currently accepting programming work, it projects, school and application development.

programming projects, thesis and capstone projects, IT consulting.

work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com


Program Listing

swap.py

print("@=====================================@")
print("        Swap of Two Numbers            ")
print("@=====================================@")
print("");
x = int(input("Enter First Value  : "))
y = int(input("Enter Second Value : "))
print("");
print("BEFORE SWAPPING")
print("");
print('The value of x before swapping: {}'.format(x))
print('The value of y before swapping: {}'.format(y))
temp = x
x = y
y = temp
print("");
print("AFTER SWAPPING")
print("");
print('The value of x after swapping: {}'.format(x))
print('The value of y after swapping: {}'.format(y))
print("")
print("===== THE END OF PROGRAM =====     ")



Offers Programming Services

Jake Rodriguez Pomperada,MAED-IT

Software Engineer | Teacher | Author | Entrepreneur

I am currently accepting IT Consulting jobs, software development, project management,system analysis and design, technical documentation writing, software quality assurance testing and documentation, website setup and maintenance, thesis and school project programming projects and assignments at a very affordable price, reliable technical support and fast service.

My specialize programming language are the following Arduino, Java EE,Java SE, C,C++,C#, PHP,Python, Pascal, JavaScript, Visual Basic 6.0 and Visual Basic NET.

In terms of database management software I use Visual Foxpro, MS Access,MySQL,Oracle and MariaDB.

Presently I also learning and working on Arduino projects.





A sample of Projects in Arduino that I have done so far

I can do also website development using HTML,CSS, JQuery,AngularJS and WordPress.  I also managing my blog in this address http://www.jakerpomperada.blogspot.com which all about computer programming in general.

If interested to my services kindly text or call me in this number here in the Philippines at

0917-3084-360.
You can send me an email at
jakerpomperada@jakerpomperada.com
jakerpomperada@gmail.com
jakerpomperada@yahoo.com
jakerpomperada@aol.com


Mass and Time Converter in C#

A very simple menu driven program written in C# to convert mass and time.

I am currently accepting programming work, it projects, school and application development.

programming projects, thesis and capstone projects, IT consulting.

work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Sample Program Output


Program Listing

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mass_Time_Converter
{
    class Program
    {
        static void Main(string[] args)
        {
            bool repeat = true;
            int num;
            int num1;
            int con;
            while (repeat)
            {
                Console.WriteLine("\n");
                Console.WriteLine("\t===== MAIN MENU =====");
                Console.WriteLine("\n");
                Console.WriteLine("\tSelect one to convert")
                Console.WriteLine("\n");
                Console.WriteLine("\t[1] Mass Conversion");
                Console.WriteLine("\t[2] Time Conversion");
                Console.WriteLine("\n");
                Console.Write("\tYou choose: ");
                con = Convert.ToInt32(Console.ReadLine());
                if (con == 1)
                {
                    Console.WriteLine("\tConvert Mass");
                    Console.WriteLine("\t1. Kilograms to Grams");
                    Console.WriteLine("\t2. Grams to Miligrams");
                    Console.WriteLine("\t3. Milligrams to Micrograms");
                    Console.WriteLine("\n");
                    Console.Write("\tYou choose what to convert: ");
                    num = Convert.ToInt32(Console.ReadLine());
                    if (num == 1)
                    {
                        Console.Write("\tEnter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans = num1 * 1000;
                        Console.WriteLine(+num1 + " kilogram/s is equivalent to " + ans + " gram/s.");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\n");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("\tThank you for using this software.");
                        }
                    }
                    else if (num == 2)
                    {
                        Console.Write("\tEnter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans1 = num1 * 1000;
                        Console.WriteLine(+num1 + " gram/s is equivalent to " + ans1 + " milligram/s.");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\n");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("Thank you!");
                        }
                    }
                    else if (num == 3)
                    {
                        Console.Write("\tEnter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans2 = num1 * 1000;
                        Console.WriteLine(+num1 + " milligram/s is equivalent to " + ans2 + " microgram/s.");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\n");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("\tThank you for using this Software");
                        }
                    }
                    else
                    {
                        Console.WriteLine("\tError! Operation Not Found!");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("\tThank you!");
                        }
                    }
                }

                else if (con == 2)
                {
                    Console.WriteLine("Choose what to convert");
                    Console.WriteLine("1. Minutes to Seconds");
                    Console.WriteLine("2. Hours to Minutes");
                    Console.WriteLine("3. Days to Hours");
                    Console.Write("You choose what to convert: ");
                    num = Convert.ToInt32(Console.ReadLine());
                    if (num == 1)
                    {
                        Console.Write("Enter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans3 = num1 * 60;
                        Console.WriteLine(+num1 + " minute/s is equivalent to " + ans3 + " second/s.");
                        Console.WriteLine("Do you want to convert again?");
                        Console.WriteLine("Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                        }
                        else
                        {
                            Console.WriteLine("Thank you!");
                            Console.ReadKey();
                        }
                    }
                }
            }
        }
    }
}






AC Bulb Lights on and Lights Off in Arduino

A simple Arduino application that I wrote and construct that will allow us to turn on and off our alternating current bulb using Arduino UNO and 5 volts Relay.  I hope you will find my work useful. Thank you.

I am currently accepting programming work, it projects, school and application development.

programming projects, thesis and capstone projects, IT consulting.

work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com







                                                                 Sample Program Output


Program Listing

/*  AC Bulb Lights on and Lights Off in Arduino
 *   Written By Mr. Jake R. Pomperada
 *   January 20, 2019  Sunday, Bacolod City, Negros Occidental Philippines
 *   8:54 AM
 */

#define RELAY1  7                        

void setup()

{    


Serial.begin(9600);
  pinMode(RELAY1, OUTPUT);       

}

  void loop()

{

   digitalWrite(RELAY1,0);           // Turns ON Relays 1
   Serial.println("Light ON");
   delay(2000);                     // Wait 2 seconds

   digitalWrite(RELAY1,1);          // Turns Relay Off
   Serial.println("Light OFF");
   delay(2000);
   
}



Friday, January 18, 2019

Knight Rider LED Light Chaser in Arduino

A simple application that I wrote in C language in Arduino to show the Knight Rider LED Light Chaser I am using Arduino UNO in this project activity.

I hope you will find my work useful. Thank you.

I am currently accepting programming work, it projects, school and application development.

programming projects, thesis and capstone projects, IT consulting.

work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com




Sample Program Output


Program Listing

/*  Knight Right LED Light Chaser
 *  Written By: Mr. Jake R. Pomperada, MAED-IT
 *  January 18, 2019   10:20 PM Friday
 *  http://www.jakerpomperada.com
 *  jakerpomperada@gmail.com and jakerpomperada@yahoo.com
 */

int pin2 = 2;
int pin3 = 3;
int pin4 = 4;
int pin5 = 5;
int pin6 = 6;
int pin7 = 7;
int timer = 40;

void setup(){
  pinMode(pin2, OUTPUT);
  pinMode(pin3, OUTPUT);
  pinMode(pin4, OUTPUT);
  pinMode(pin5, OUTPUT);
  pinMode(pin6, OUTPUT);
  pinMode(pin7, OUTPUT);
}

void loop() {
   digitalWrite(pin2, HIGH);
   delay(timer);
   digitalWrite(pin2, LOW);
   delay(timer);

   digitalWrite(pin3, HIGH);
   delay(timer);
   digitalWrite(pin3, LOW);
   delay(timer);

   digitalWrite(pin4, HIGH);
   delay(timer);
   digitalWrite(pin4, LOW);
   delay(timer);

   digitalWrite(pin5, HIGH);
   delay(timer);
   digitalWrite(pin5, LOW);
   delay(timer);

   digitalWrite(pin6, HIGH);
   delay(timer);
   digitalWrite(pin6, LOW);
   delay(timer);

   digitalWrite(pin7, HIGH);
   delay(timer);
   digitalWrite(pin7, LOW);
   delay(timer);

   digitalWrite(pin6, HIGH);
   delay(timer);
   digitalWrite(pin6, LOW);
   delay(timer);

   digitalWrite(pin5, HIGH);
   delay(timer);
   digitalWrite(pin5, LOW);
   delay(timer);

   digitalWrite(pin4, HIGH);
   delay(timer);
   digitalWrite(pin4, LOW);
   delay(timer);

   digitalWrite(pin3, HIGH);
   delay(timer);
   digitalWrite(pin3, LOW);
   delay(timer);
}