Thread
:
Duplicate entry '' for key 2
View Single Post
•
•
Join Date: Apr 2008
Posts: 35
Reputation:
Solved Threads: 0
cali_dotcom
Offline
Light Poster
Re: Duplicate entry '' for key 2
0
#
7
Nov 18th, 2008
i ran this code on php myadmin:
INSERT INTO `article_fields`(`field_title`, `field_type`) VALUES("'.$new_text.'","'.$field_type.'")
and it worked. the problem is running that code from a php script. did i mention that i was using the zend framework.
cali_dotcom
View Public Profile
Find all posts by cali_dotcom