Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#829968
Depends on the value of a variable, I would like to modify the SQL dynamically of a dropdown control. I'm not just modifying the where clause. I'm modifying the table and select.

For example....
if A==True
then set SQL: "select userid, username from users where age>=@@AgeVar"
else set SQL: "select colorid, colorname from players where favoriteColor = @@ColorVar".

@DANSOL Thank you !!!!!!! You saved me :)

🚀 Kann ein Krypto-Bot beim Handel und Investieren […]

WazirX is a leading cryptocurrency exchange in Ind[…]

Sending messages with WhatsApp

Wordle offers a refreshing challenge for word enth[…]