dmikester1 Posted May 3, 2011 Share Posted May 3, 2011 I have a PHP script with no HTML in it. The script runs through and updates a bunch of fields in our Active Directory LDAP accounts. Well, I don't want it to just update every account automatically. I want it to prompt me for for each user. Ex. "Would you like to update John Doe's position to Director?" "Yes/No" I'm guessing I'll have to use Javascript for this. But I don't want to add any HTML/JS if possible. But I'm guessing this isn't possible without adding some. Thanks Mike Quote Link to comment https://forums.phpfreaks.com/topic/235442-php-script-to-prompt-for-yesno/ Share on other sites More sharing options...
Zane Posted May 3, 2011 Share Posted May 3, 2011 But I'm guessing this isn't possible without adding some. Thanks Mike You guessed correctly Mike. Prompt is strictly a JS function and to imitate it with PHP would be nothing more than a list of checkboxes down the page. Quote Link to comment https://forums.phpfreaks.com/topic/235442-php-script-to-prompt-for-yesno/#findComment-1209995 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.