Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Cancel
5
  • the ',' character after ShopName field is not in my code, a fault copying the code nothing more.
    – Poula Adel
    Commented Jun 16, 2015 at 8:50
  • Have you tried this : stackoverflow.com/questions/19577056/using-pdo-to-create-table ?
    – tmylamoule
    Commented Jun 16, 2015 at 8:51
  • yes yes yes!... I've searched alot before asking!
    – Poula Adel
    Commented Jun 16, 2015 at 8:52
  • So it does not create the table but it also doesn't output any error...? Have you checked whether query() returns true? Are you 200% sure you're looking at the right database?
    – deceze
    Commented Jun 16, 2015 at 8:57
  • Yes I've checked it .. I've tried to do some output if the query is not done correctly . It also doesn't give any output ... I make an output after all at end of code and the output appears! but the query testing doesn't
    – Poula Adel
    Commented Jun 16, 2015 at 9:00