How to handel php error

I'm using two files one is of html and another is of php In my html file I have created this

code for my html file : index.html

<form method='get' action='ans.php'
<input type="text" name="name">
<input type="button" name="submit">

When user enter the input into the input tag it will take the user to the ans.php file in which I have coded some php

My php file: ans.php


$text= $_GET['name'];
echo $text


 echo $_GET['name']; 


Need Your Help

Annotate m:n relationship with helper class (2 foreign keys + additional attributes) with JPA 2.0

java jpa orm annotations jpa-2.0

I'm new to JPA 2.0 and have troubles annotating a n:m relationship that uses a foreign key class with additional attributes describing the relationship:

How do I convert result of SQL query to XML?

php mysql xml dom foreach

Basically, I'm taking an SQL query and converting it into a dynamic XML. I'm trying to create custom XML tags for elements that I obtain from my query, and I'd like to pick and choose which results...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.