|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MySQL UNION
$rsLearnObj = $db->Execute("SELECT name, id FROM rep_lesson WHERE chapterId IN (".$csvChapter.") UNION SELECT name, id FROM rep_lesson WHERE id IN $csvLearnObj");
the above is not working? plsfix the bug if any Thanx |
|
#2
|
|||
|
|||
|
RE: MySQL UNION
Um ok, can you tell us what kind of error you are getting?
|
|
#3
|
|||
|
|||
|
RE: MySQL UNION
i think i hav left out the slashes, my server is not working right now- will update soon Bye
UNION SELECT name, id FROM rep_lesson WHERE id IN (".$csvLearnObj.")"); |
|
#4
|
||||
|
||||
|
RE: MySQL UNION
What version of MySQL are you running? UNION wasn't added until 4.0.0.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > MySQL UNION |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|