i'm a PHP programmer but i would like to start learning VB.NET or C++ and could not make up my mind between the two. Can u please give some suggestions.. and which one works better with MySQL and which is much easier to learn :)
i extract years from mysql using the array loop like this,
foreach (array(date('Y', strtotime($row['drilling_date']))) as $v) {
//1988, 1989, 1990 and so on..
$current_year = $v;
$next_year = $v+1; // which shows the year nest to $current_year
// problem here
}
Is there any way i...
thanks a lot guys
just one more Q..
How can I have a php array like this
"April,89-March,90","April,90-March,91","April,91-March,92"
i really need it for my chart.. :)
Sorry..
Its MySQL
i have a table like this
+----+--------------+--------------+
| id | drilling_date | status /// some more columns here
+----+--------------+--------------+
| 1 | 1984-02-12 | success
| 2 | 1987-03-08 | un-success
| 3 | 1988-11-01 |...
+----+--------------+
| id | drilling_date
+----+--------------+
| 1 | 1984-02-12
| 2 | 1987-03-08
| 3 | 1988-11-01
| 4 | 2005-06-30
| 5 | 2009-12-28
| 6 | 1984-03-10
+----+--------------+
how can i select all data that falls between March 1984 - April 1985, March 1985 -...
Thanks... but
actually i want to display the message like one week only ... and suppose no one updated their profile during the whole week ... the message would be a bit old after a week ... is there any way how i could subtract the current date with the LastUpdated time/date and if its less...
This may sound stupid but i really need help/advice!!!! ..... I plan to start a bulk sms service in a small population town ... and i was wondering how to acquire all or maybe half of the phone numbers living in that town to send an ads of some kind.. will the operators be willing to sell this...
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.