Friday, 2 August 2013
PHP Tutorial
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Monday, 29 July 2013
How to Add SWF (Flash) File in Your Blogger
Hi folks
When I learned Flash i want to show it on my Blog but blogger doesn't accept swf format. then
I find a solution form net.
</embed>
</object>
When I learned Flash i want to show it on my Blog but blogger doesn't accept swf format. then
I find a solution form net.
- Upload your swf file online (On your domain) or any other free flash hosting site
- Then copy the url
- You need to go in html update mode
- Click on html as showed in picture place the following code and update
<object height="350px" width="400px">
<embed src="http://www.basantgroupofinstitution.org/swf/butterfly.swf" height="400px" width="400px"></embed>
</object>
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Sunday, 14 July 2013
Flash Tutorial
You can make animation using
flash very easily just take a look on following Lines and images
What do you think movies are
really includes moving object? No!
Movies are a collection of changing
images, which plays more than one picture at a time. Being a Human we’re not
able to see that differences.
Flash used this basic for
make animation you have to work on frame which includes different types of image and run it more than one image
at a time.
Face Moving Expression
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday, 14 June 2013
Save Record on php server
Hi....
<html>
<head>
<title>Girfa Saving Record on PHP Server</title>
<?php
if($_GET['name1'])
demo();
function demo()
{
$con=mysql_connect("localhost","girfa","12345") or die("Could not open the database ");
mysql_select_db("basant_bsw",$con);
$roll=$_GET['roll'];
$nm=$_GET['name'];
$ct=$_GET['city'];
$quary="insert into stu values('$roll','$nm','$ct')" or die("error in making sql");
mysql_query($quary,$con) or die("unable to run sql quary");
}
?>
</head>
<body>
<form name="form1" method="get" action="<?php $_PHP_SELF ?>">
Roll : <input type="text" name="roll" /><br />
Name : <input type="text" name="name" /><br />
City : <input type="text" name="city" /><br />
<input type="submit" value="save" name="name1" />
</form>
</body>
</html>
I spend lot of time to achieve this. I Searched many website but didn’t
find a proper way which help me to do this. Then I use php manual which help me
to find my solution.
Mostly we use mysql_connect("localhost","root","")
this will work on client side where you develop your application. You just have
to change the format of mysql_connect() function and rest of the thing will be same as
you used to on your client.
mysql_connect("localhost","Girfa","12345")
Girfa is your user name and 12345 is password of your website. Which
you got when launch your website.
<html>
<head>
<title>Girfa Saving Record on PHP Server</title>
<?php
if($_GET['name1'])
demo();
function demo()
{
$con=mysql_connect("localhost","girfa","12345") or die("Could not open the database ");
mysql_select_db("basant_bsw",$con);
$roll=$_GET['roll'];
$nm=$_GET['name'];
$ct=$_GET['city'];
$quary="insert into stu values('$roll','$nm','$ct')" or die("error in making sql");
mysql_query($quary,$con) or die("unable to run sql quary");
}
?>
</head>
<body>
<form name="form1" method="get" action="<?php $_PHP_SELF ?>">
Roll : <input type="text" name="roll" /><br />
Name : <input type="text" name="name" /><br />
City : <input type="text" name="city" /><br />
<input type="submit" value="save" name="name1" />
</form>
</body>
</html>
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Subscribe to:
Posts (Atom)