I used this code to have a PHP file email my cell phone and it worked.
------------------------
<?php
mail("9999999999@mobile.att.net", "Header here", "More Text here");
?>
------------------------
My question is does anyone know the code I would need to put into this mysql statement to get...
DRJ478,
Let's say you had the list of all the presidents in a database with their date of birth and height.
The first SQL Statement would ask for all presidents and list their names alphabetically so they show up on the left column on a webpage.
The second SQL statement in the middle of the...
I want to loop through results with a while statement without having to do another SQL statement. Here is my example.
----------------------------------
$sql_statement = "SELECT id, price, title, date, FROM table where date = \"2004/12/7\"";
$result = mysql_query($sql_statement) or...
Anyone that can help with this will be appreciated.
I am using Navicat and setting up a simple database.
I want currency to show up properly.
Ex: 13.10 should show up 13.10 and not 13.1
I set up the column as decimal and decimals I set to 2. I have Zerofill clicked. But when I add a record or...
I have a basic question that I hope someone can help me with. I need to grab info from two different tables but don't know how.
$sql_statement = "SELECT * FROM table1, table2 where table1.item_id = \"$ARG\" && table2.item_id = \"$ARG\"";
$result = mysql_query($sql_statement) or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.