Thursday, July 3, 2014

INSERT INTO MYSQL USING PHP SCRIPT


database name:student
tablename:stud
fields : name, email, gender

<form name = "frm1" action="#" method="post">
enter name : <input type="text" name="sname"><br>
enter email : <input type="text" name="email"><br>
enter gender :<input type="radio" name="sex" value="m">male <input type="radio" name="sex" value="f">female<br>
<input type="submit" name="submit" value="insert">
</form>

<?php
if(isset($_POST["submit"]))
{
$link=mysql_connect("localhost","root","");
mysql_select_db("student");
$name=$_POST["sname"];
$email=$_POST["email"];
$gender=$_POST["sex"];
$sql="insert into stud(name,email,gender) values('$name','$email','$sex')";
$res=mysql_query($sql);
if($res)
{
echo "<font color='green'>record inserted successfully";
}
else
{
echo "<font color='red'>Record not Inserted....";
}

}
//print_r($_POST);
?>


Guest Lecture of Resource Person : Mr. Dhaval Trivedi From Principal of SSDIIT College

Thursday, June 26, 2014

print data by reusable code in PHP


database namd : student table name : stud table name : course Def: print data by reusable code and table name as per given can have any fields

<?php
$link=mysql_connect("localhost","root","");
mysql_select_db("student");
$res=mysql_query("select * from stud");
printdata($res);

echo "<hr>";
$res=mysql_query("select * from tblcourse");
printdata($res);

function printdata($datas)
{
echo "<table border=1>";
while($row=mysql_fetch_array($datas,MYSQL_NUM))
{
echo "<tr>";
foreach($row as $k=>$v)
{
echo "<td>",$v,"</td>";
}
echo "</tr>";
}
echo "</table>";

}
?>


Monday, June 23, 2014

mysql with php connection sample programme


database name :dbstud
table name : tblstud
fields
rno tinyint autoincrement and primary key
name varchar 20
gender enum "m","f"
city varchar 20

<?php
$link=mysql_connect("localhost","root","");

$db=mysql_select_db("dbstud");

$res=mysql_query("select *from tblstud");
echo $res,"<BR>";
echo "<table border=1>";
while($row=mysql_fetch_array($res,MYSQL_NUM))
{
echo "<TR bgcolor='yellow'>";
foreach($row as $k=>$v)
{

if($k == 2)
{
if($v=="f")
{
echo "<td bgcolor='pink'>Female</td>";
}
else
{
echo "<td bgcolor='cyan'>Male</td>";
}
}
else
{
echo "<td>",$v,"</td>";
}

}

echo "</TR>";
}
echo "<table>";
?>


Saturday, April 5, 2014

SHREE SOLUTION


Welcome to Shree Solution
  • Shree Solution is Outsourcing and Information Technology Services Company that leverages leading technology practices. 
  • Our motto is to provide excellent outsourcing and IT services with a very affordable price. 
  • Our committed professionals have provided solutions par excellence.
  • Our Software Development Services include Web Designing,Internet Marketing Services, Open Source Development, Website Development, and Mobile Application Development.


A Software company running in JUNAGADH City where GIRNAR is situated and arround  one dozen employee working under the Company Operational Director Mr. Dhaval Faladu and Managing Director Mr. Kalpesh Rakholiya(Me) who is a pioneer of company also with great idea of developing IT sector in the Junagadh city . Dhaval is my good friend once we have idea and he trying to model this idea on my daughter's name the name is "SHREE SOLUTION" not only he is good person but person with great vision.Letter on we add a brilliant mind in the form of  C.E.O. of Company Mr. Parbat Pithiya.

About US


ShreeSolution & WEB DEVELOPMENT is an Indian IT Company in Junagadh (Guj.) for Software Development, Website Development,Web Hosting, Web Designing, Search Engine Optimization, and Mobile Solutions and lots of many IT and IT Enabled Services.

We specialize in Software development, web design & development, search engine optimization and e-commerce Development. We build web solutions, which evolve with the changing needs of your business.

Our fully integrated design, development, and offshore services provide a one-stop shop for clients.
We provide a dependable extension to the client's in-house development or support teams. Our clients range from well known companies to early-stage ventures developing cutting-edge technology products.We have long-standing relationships with our clients, built on our successful execution of prior engagements and commitment to their business success.



Vision And Mission

We are recognized in the market for our ability to deliver, software Solutions merged in a single bouquet to comprehensively accomplish our clients overall IT needs.
We commit ourselves to achieve consistent reliability, efficiency and performance of our products & services related to Software & Networking products. We attempt to achieve maximum customer satisfaction through continuous feedback mechanism and continual improvement in Quality Management Systems.
We are constantly in the process of updating our software skills adopting new technologies that can perform better functions. We believe in integrating our skills with our clients inputs to achieve desirable results. We have developed our own performance measurement systems that virtually support our clients into the routine of software developing and over- viewing the performance of our skilled manpower.






Skills For Work

Shree Solution has core software development skills to be an effective developer. Our core skills can be used both as an evaluation tool and as a professional development guide.
We understand how it is important for you to choose a trustworthy partner that understands your problems and knows how to solve them. We are here to make your choice easy by giving broad spectrum of technologies and software development skill.

skills for software development

Shree Solution maintains following skill for software development:
  • software development life cycle.
  • Use of libraries and frameworks
  • Debugging
  • Use of integrated development environments
  • Use of version control
  • Automated unit testing
  • Refactoring
  • Use of build automation

Sunday, March 31, 2013

www.viewofspace.org

www.viewofspace.org [ISSN 2320-7620]



View of Space - International Multidisciplinary Journal For Applied Reasearch (VOSIMJAR) is a monthly print-in published journal since March 2013. The aim of the journal to become a platform for researchers for publishing research papers, articles, case studies, review articles etc in all subject areas by the academicians, research scholars, corporate and practitioners with substantial experience and expertise in their respective fields. This journal is kept wide to provide platform for diversity of intellectual pursuit from all corners of the society for enrichment and enhancement of the group readers. The Journal is been published on every 15th of the month.




The journal is being published monthly and in the multiple languages and target subjects are also Multipule



Accountings, Arts, Bio-medical, Biology, Business, Commerce, Corporate Governance, Clinical Research, Designing, Economics, Education, Engineering, Finance, Financial Accounting, Fine Art, Geography, History, Home Science, Human Resource, Intellectual Property Rights, Industrial Laws, Information Technology, Journalism, Literature, Management, Marketing, Management Accounting, Medical Science, Organization Behavior, Organizational Psychology, Philosophy, Pharmaceutical Science, Political Science, Rural India, Statistics, Science, Social Sciences, etc.



In this regard, may I take this opportunity to invite Articles, Research Papers, Case Study, and Review Report for View of Space - International Multidisciplinary Journal For Applied Reasearch (VOSIMJAR) : Please send us the following on or before 10th of the month



1.Print Copy of the Paper

2.Word file of the Paper in CD(Please include Authors Name, Affiliation, Phone No, Subject on front page.)

3.Copyright Agreement Form duly sign by all the authors

4.Publication Fees in Demand Draft/Cheque at Par (Please see the Authors' Guidelines)



E-mail Address:editorviewofspace@gmail.com

For more detail see website : www.viewofspace.org




Tuesday, October 4, 2011

marksheet using array

#include<stdio.h>

#include<conio.h>

void main()

{

int marks[4],tot=0,per,i;

clrscr();

for(i=0;i<4;i++)

{

printf("\nEnter Marks[%d subject]:",i+1);

scanf("%d",&marks[i]);

tot=tot+marks[i];

}

per=tot/4;

if(marks[0]>=40 && marks[1]>=40 && marks[2]>=40 && marks[3] >=40)

{

if(per >= 70)

{

printf("\nDistinction");

}

else if(per >= 60)

{

printf("\nFirst Class");

}

else if(per >= 50)

{

printf("\nSecond Class");

}

else

{

printf("\nPass");

}

printf("\n-------------------\n");

for(i=0;i<4;i++)

{

printf("\n subject %d : %d",i+1,marks[i]);

}

printf("\n-------------------\n");

printf("\n total : %d",tot);

printf("\n percentage : %.2f",(float)per);

printf("\n-------------------\n");


}

else

{

gotoxy(35,12);

textcolor(RED+BLINK);

cprintf("Fail");

}

getch();


}