# AHH! more php/mysql problems!

**URL:** <https://forum.kirupa.com/t/ahh-more-php-mysql-problems/237472>\
**Category:** programming\
**Created:** [August 30, 2007, 4:48pm UTC](https://forum.kirupa.com/t/ahh-more-php-mysql-problems/237472 "2007-08-30T16:48:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rondog](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rondog/32/2478_2.png) [@rondog](https://forum.kirupa.com/u/rondog)\
**Post date:** [August 30, 2007, 4:48pm UTC](https://forum.kirupa.com/t/ahh-more-php-mysql-problems/237472/1 "2007-08-30T16:48:43Z")

</div>

does anyone know why this insert statement isnt inserting anything into the data base?

```php

$date = date("m-d-y");
$datequery = "INSERT INTO users timelogged VALUES $date WHERE username = '$uname'";
$rundate = mysql_query($datequery);

```

echo $datequery; returns  
INSERT INTO users timelogged VALUES 08-30-07 WHERE username = ‘abarter’

so that sounds right to me…i dunno i might be crazy
