Networking, Programming and Graphics Tutorials

How to make SQL DELETE query [1/1]

Type: Code Networking, Programming and Graphics Tutorials
How to make SQL DELETE query
Level: Beginner Networking, Programming and Graphics Tutorials 
How to make SQL DELETE query
Date: 2007-Mar-16
How to make SQL DELETE query
Visited: 3532 times
How to make SQL DELETE query
Rating: How to make SQL DELETE query
How to make SQL DELETE query
Author: Ivory Morhuld

This tutorial will show you how to use MySQL querys to database in your PHP scripts.

mysql_query(query, [link_identifier])


mysql_query() sends a query to the currently active database on the server that's associated with the specified link identifier. If link_identifier isn't specified, the last opened link is assumed. If no link is open, the function tries to establish a link as if mysql_connect() was called with no arguments, and use it.

In next examples we will teach you how to make more querys.

<?php
$query
="delete from table where mail not like '%@%'";
$result=mysql_query($query);
?> 
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - How to make SQL DELETE query [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: how to make a delete query  sql query delete php  delete from where is not sql php query  sql query delete  sql delete query  delete query in SQL  query delete  sql:delete query  delete query sql php  sql delete query