# Noob problem with PHP :P

**URL:** <https://forum.kirupa.com/t/noob-problem-with-php-p/257971>\
**Category:** programming\
**Created:** [April 18, 2008, 10:47pm UTC](https://forum.kirupa.com/t/noob-problem-with-php-p/257971 "2008-04-18T22:47:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Web\_Stylist](https://avatars.discourse-cdn.com/v4/letter/w/7c8e57/32.png) [@Web\_Stylist](https://forum.kirupa.com/u/Web_Stylist)\
**Post date:** [April 18, 2008, 10:47pm UTC](https://forum.kirupa.com/t/noob-problem-with-php-p/257971/1 "2008-04-18T22:47:24Z")

</div>

I’ve just started reading the book "Build your own database driven website using PHP and MySQL and managed myself to fly my way through to the actual mysql commands in creating/managing tables and databases. I have a small problem though. When I try to create a table, I can’t seem to do it properly, I always get a syntax error!

I am using version 5.045 and here is the code I’m typing in:

```php
create table clients (
id int not null auto_increment primary key,
);

```

![](http://www.imgsync.com/data/img/2118315err.png)

Even that gives me a syntax error! Where am I going wrong? ☹
