arkprocoder / DBMS-COVID-BED-SLOT-BOOKING-MINI-PROJECT

42 stars 20 forks source link

invalid syntax #2

Closed mohamedfarooq closed 2 years ago

mohamedfarooq commented 2 years ago

cannot run the particular block of code

new_user = db.engine.execute(f"INSERT INTO user (srfid,email,dob) VALUES ('{srfid}','{email}','{encpassword}') ")

this is the line 124 inside the python file

arkprocoder commented 2 years ago

Check my code in description

On Sun, Dec 5, 2021, 12:12 PM mohamedfarooq @.***> wrote:

cannot run the particular block of code

new_user = db.engine.execute(f"INSERT INTO user (srfid,email,dob) VALUES ('{srfid}','{email}','{encpassword}') ")

this is the line 124 inside the python file

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/arkprocoder/DBMS-COVID-BED-SLOT-BOOKING-MINI-PROJECT/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVT2L2TCHK77CCI5BL6HX3UPMCUBANCNFSM5JMN462A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mohamedfarooq commented 2 years ago

so what is the solution for this

arkprocoder commented 2 years ago

Hey there is no error in this kindly check the syntax match with my code

On Sun, Dec 5, 2021, 12:41 PM mohamedfarooq @.***> wrote:

so what is the solution for this

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arkprocoder/DBMS-COVID-BED-SLOT-BOOKING-MINI-PROJECT/issues/2#issuecomment-986178986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVT2L7RKUKAKL4JNXZ6ADDUPMGAJANCNFSM5JMN462A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mohamedfarooq commented 2 years ago

oh, i just found out what was wrong, thank you for your help tho