Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: open

Message Too Old, No Replies

query works through phpmyadmin, but not through php

mysql/php

     
4:20 pm on Dec 19, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 5, 2006
posts:69
votes: 0


The following query:

CREATE TABLE IF NOT EXISTS data (system_access tinyint not null default 2, system_date timestamp, system_offset varchar(50) not null, system_title varchar(50) not null default 'Untitled')

Worked for me directly through phpmyadmin, but I received an error when trying it with mysql_query. The connection was fine --no error whatsoever. Any ideas?

9:05 pm on Dec 19, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 5, 2006
posts:69
votes: 0


Problem found --not the query, so thanks for nothing!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members