how can i word a query that selects * from a table.where the id=1 and assigns values in php for the other parameters.
this is my query, in which i know its wrong but to help you know what i mean.
===============
SELECT * FROM polls WHERE 'id'=1 AND 'question'= $question,
'answer1'= $answer1,'answer2'= $answer2,'answer3'= $answer3,
'answer4'= $answer4
2007-07-22
20:44:55
·
3 answers
·
asked by
truepal20032001
2
in
Computers & Internet
➔ Programming & Design
i don't want to modify, I want to retrieve data from the server.
2007-07-22
20:59:01 ·
update #1