/    Sign up×
Community /Pin to ProfileBookmark

A trouble on a simple sql statement

I am very new on php and i am trying to create a simple application for myself on a self-training purpose but i encountered a very simple-to-solve looking problem which i failed to fix ?. When I try to delete (by clicking red ‘X’ button)an entry from the database i got the following error message

[QUOTE]

Unknown column ‘blablabla’ in ‘where clause’

[/QUOTE]

sql statement seems quite okay!

you can see the whole code on (ofcourse, by help of your browser ? )
[URL=”http://epsilonbucuresti.com/deneme/index.php”]http://epsilonbucuresti.com/deneme/index.php[/URL]

The interface is turkish but if you look at the code, i think it will not bother you to understand the process

And here is the structure for the respective table

[QUOTE]

CREATE TABLE `frm_cat` (
`aciklama` varchar(50) NOT NULL,
`link` varchar(50) NOT NULL,
KEY `aciklama` (`aciklama`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

[/QUOTE]

I am okay when it comes to sql coding ,at least i know the basics. But here, what is the problem. I think the error message says there is not such a field.
Anyway, how may i fix this? In which part i make a wrong?

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@sstalderDec 03.2007 — Appears you got it fixed, I just deleted two things.
×

Success!

Help @mrtblt spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...