Cod: Selectaţi tot
<form action="clientorder.php?"name='.$row['namerep'].'&price='.$row['price'].'">
Cod: Selectaţi tot
<form action="clientordersend.php" method="post" onsubmit="return checkForm(this);">
<input type="hidden" name="price" value="<?php echo $_GET['price']; ?>" />
<input type="hidden" name="reparationname" value="<?php echo $_GET['namerep']; ?>" />
Cod: Selectaţi tot
mysql_select_db("autentificare", $conexiune);
$sql="INSERT INTO clients (reparationname,price,name,surname,email,phone,street,postcode,city,county,country,telephone,housenr,msjclient,data,timp)
VALUES
('".$_POST['reparationname']."',
'".$_POST['price']."',
'".$_POST['name']."',
'".$_POST['surname']."',
'".$_POST['email']."',
'".$_POST['phone']."',
'".$_POST['street']."',
'".$_POST['postcode']."',
'".$_POST['city']."',
'".$_POST['county']."',
'".$_POST['country']."',
'".$_POST['telephone']."',
'".$_POST['housenr']."',
'".$_POST['msjclient']."',
'".$data."',
'".$timp."'
)";
Si tot in pagina asta am un script de la paypal care ar trebui sa imi execute platile. Ii pun variabilele de sus in el, iar el imi da eroare. Imi spune ca trebuie sa aleg o alta valoare decat 0 deci valurile nu se trimit.
Si nu vad unde este problema si cum sa ii dau de capat. Ma poti lamuri?
Multumesc frumos.