greed Posted January 24, 2007 at 04:25 AM Report #78244 Posted January 24, 2007 at 04:25 AM Pa tou a tentar fazer uma query com dois statements do genero: $query = mysql_query("select nome from trabalhador where bi = '$bi'; select * from trabalhador"); e' que ao fazer dame sempre este warning/erro: PHP Warning: SQL error: [Oracle][ODBC][Ora]ORA-00911: caracter inválido Alguem sabe como ultrapassar este problema?? Um grande obrigado a quem souber contornar este problema 😉 -- @pcbo
Furriel Posted January 24, 2007 at 08:57 AM Report #78249 Posted January 24, 2007 at 08:57 AM Pa tou a tentar fazer uma query com dois statements do genero: $query = mysql_query("select nome from trabalhador where bi = '$bi'; select * from trabalhador"); e' que ao fazer dame sempre este warning/erro: PHP Warning: SQL error: [Oracle][ODBC][Ora]ORA-00911: caracter inválido Alguem sabe como ultrapassar este problema?? Um grande obrigado a quem souber contornar este problema 😉 Olá, Tenta fazer SELECT nome FROM trabalhador WHERE bi LIKE $bi
greed Posted January 24, 2007 at 03:07 PM Author Report #78284 Posted January 24, 2007 at 03:07 PM Nao percebeste, Eu quero mmo fazer 2s statements na mesma query...oracle nao da pelo que pesquisei se encontrar maneira aviso. abrc. -- @pcbo
dj_casm Posted January 24, 2007 at 08:27 PM Report #78345 Posted January 24, 2007 at 08:27 PM depende do que quiseres da query... Se disseres qual o objectivo da query é mais fácil explicar Porque nao percebo pk keres seleccionar só nome da tabela trabalhador e depois já keres seleccionar tudo
greed Posted January 24, 2007 at 09:19 PM Author Report #78357 Posted January 24, 2007 at 09:19 PM depende do que quiseres da query... Se disseres qual o objectivo da query é mais fácil explicar Porque nao percebo pk keres seleccionar só nome da tabela trabalhador e depois já keres seleccionar tudo ehpa o objectivo desta query e' para fins ilicitos (if you know what i mean 😉)... Essa tabela que ai pus e' apenas como exemplo... Tive a pesquisar exploits e vi que posso fazer cm union...mas n ta a dar ate agr. Hacking is fun 😄 -- @pcbo
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now