Arduino Garden System

Hello people!

Can someone help me with my online garden system?
I had already burned 1 shield and dont know what can be wrong D:
and about my ethernet shield, its reading the web controller but the log stopped working, can it be a hardware problem?
Here are the codes:

Connect

<?php

	function Connection(){
		$server="localhost";
		$user="weeduino";
		$pass="815621";
		$db="vasiro";
	   	
		$connection = mysql_connect($server, $user, $pass);

		if (!$connection) {
	    	die('MySQL ERROR: ' . mysql_error());
		}
		
		mysql_select_db($db) or die( 'MySQL ERROR: '. mysql_error() );

		return $connection;
	}
?>

Add

<?php
   	include("connect.php");
   	
   	$link=Connection();

   $vasoid=$_REQUEST["vasoid"];
	$temp1=$_REQUEST["temp1"];
	$hum1=$_REQUEST["hum1"];
   $humsol1=$_REQUEST["humsol1"];
   $lig=$_REQUEST["lig"];

	$query = "INSERT INTO `historico` (`hist_temperatura`, `hist_umidadear`, `hist_umidadesolo`) 
		VALUES ('".$temp1."','".$hum1."','".$humsol1."','".$vasoid."')"; 
   	
   	mysql_query($query,$link);
	mysql_close($link);

   	header("Location: index.php");
?>

Arduino code

if (client.connect("192.168.2.3",80)) { // Substitua pelo endereco de seu servidor
            delay(500);   
           
           data = "temp1=" + String(t) + "&hum1=" + String(h) + "&humsol1=" + String(val) + "&vasoid=" + String(vasoid);
                 
   
		client.println("POST /weeduino/add.php HTTP/1.1");
		client.println("Host: 192.168.2.3"); // Substitua pelo endereco de seu servidor
		client.println("Content-Type: application/x-www-form-urlencoded");
		client.print("Content-Length: ");
		client.println(data.length());
		client.println();
		client.print(data);
        }

	if (client.connected()) {
		client.stop();	// DISCONNECT FROM THE SERVER
                delay(1000);
	}

Thanks!

Arduino code

Well, some of it, anyway.

So, here's some of the answer. You need to...

(More when you post all of your code and explain exactly what the problem is.)