Jump to content
Acidripp

centrul XEROX de hackeri - cine's astia mah

Recommended Posts

Posted

Uitati-va jos de tot la primul post(de jos in sus):

"

Tabelul nostru arata in felul urmator:

Nickname Email Numar_posturi

Kenpachi k3npaci@rstcenter.com 35

Nytro nytro@yahoo.co.uk 33

In exemplul urmator, vom sterge toate intrarile care corespund coloanei Email si au valoarea k3npaci@rstcenter.com

$con = mysql_connect("localhost","acidripp","1234567890");

if (!$con)

{

die('Nu m-am putut conecta pentru ca : ' . mysql_error());

}

mysql_select_db("datele_mele", $con);

mysql_query("DELETE FROM Useri_forum WHERE Email='k3npaci@rstcenter.com'");

// sterge din tabelul Useri_forum toate datele de pe randul in care coloana Email are valoarea k3npaci@blogspot.com

mysql_close($con);

?>

Dupa rularea scriptului, tabelul nostru va arata in felul urmator:

Publicat de GMAGMA a 14:47

"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...