php mysql中的过程

this is my php code. Procedure works.

This should be thingy that calls procedure to work:

  • code on the bottom of this wall of text -

It does nothing. Blank.

procedure looks like:

CREATE PROCEDURE dodaj_osobe
         (do_pesel     decimal(11),
 do_imie   VARCHAR(45),
 do_nazwisko    VARCHAR(45),
 do_telefon     decimal(9),
 do_adres     VARCHAR(45),
 do_nr_konta     decimal(20),
 do_zarobek    decimal(8,2))
MODIFIES SQL DATA
BEGIN
INSERT INTO baza_osob
(pesel,imie,nazwisko,telefon,adres,nr_konta,zarobek)
VALUES
(do_pesel,do_imie,do_nazwisko,do_telefon,do_adres,do_nr_konta,do_zarobek);

Can someone find me an error here? It's probably something small.. but I just cannot see it.

@EDIT <<<<<<<<<<<<<<,

It looks like this now, still nothing changed.

<?php
error_reporting(E_ALL|E_NOTICE);

$nazwabazydanych = "projekt";
if (!$pesel || !$imie || !$nazwisko || !$telefon || !$adres || !$nr_konta || !$zarobek)

 {
        print "Nie zostały wypełnione wszystkie pola";
        exit;
 }

$pesel = mysql_real_escape_string($pesel);
$imie = mysql_real_escape_string($imie);  
$nazwisko = mysql_real_escape_string($nazwisko);
$telefon = mysql_real_escape_string($telefon);
$adres = mysql_real_escape_string($adres);
$nr_konta = mysql_real_escape_string($nr_konta);
$zarobek = mysql_real_escape_string($zarobek);


$db = mysql_pconnect("localhost", "root", "");
if (!$db)  
        {  
        print "Nie można nawiązać połączenia z bazą danych";
        exit;
        }

mysql_select_db("$nazwabazydanych");

$query = mysql_query("CALL dodaj_osobe ('$pesel','$imie','$nazwisko','$telefon','$adres','$nr_konta','$zarobek')"); 

?>

AND ERROR:

Notice: Undefined variable: pesel in C:\xampp\htdocs\proj\lool.php on line 5
Nie zostały wypełnione wszystkie pola

My guess is you need to write localhost instead of localho5st

 @$db = mysql_pconnect("localho5st", "root", "");

Is is localhost or localho5st

Just wondering...