Jump to content

how can I remove a ? from a user input


shadiadiph

Recommended Posts

Hi I am wondering is it possible to remove a ? using php

 

I have a user input field which is called question where the user has to enter a question but it is hard to say if the user would type "What is my middle name" or "what is my middle name?" what I am trying to achieve is that if the user adds it I can remove the ? before storing it to the database any ideas?

Link to comment
https://forums.phpfreaks.com/topic/147150-how-can-i-remove-a-from-a-user-input/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.