-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use insert into with where clause #997
Comments
You can also use this:
|
Ok! Thank You $wSQL = "SELECT * FROM xxx WHERE yyy"; It should return the same, but I realy didn't found something more like tradicional queries (using $db of course) In Time |
Hi, But for a better solution i don't know for your query. Maybe @ThingEngineer you can help here? |
Of course. My mistake. |
Hi
I have this script that works directly (mySql)
INSERT INTO
at_crc_tratamento_manual
(dia, nif, tribunal, processo, citacao, certidao, juizo, nome, sf)
SELECT
dia,nif,tribunal,processo,citacao,certidao,juizo,nome,sf
from
at_crc_reclamacao_de_creditos
WHERE processo = '441/12.0TBTND . 1';
How can I use db Class with it.
Something like that, but just find the correct terms
$id = $db->insert (
at_crc_tratamento_manual
, $array )The text was updated successfully, but these errors were encountered: