Jump to content

Forgotten how.


onlyican

Recommended Posts

I am kicking myself at this, I used to be able to do it, now I can't remember how.

 

I been working too hard I think.

 

Anyway

 

This site i build has floor plans and the user can label each seat.

 

I need to check each seat ID to make sure it does not contain any illegal chars

What I want to be able to do is have something like

 

$IllegalChars = "-_%|";

 

Then a script which will check each value from the array to check nothing contains one of my illegal chars

foreach($MyArray as $value){
// CODE HELP
}

Link to comment
https://forums.phpfreaks.com/topic/55545-forgotten-how/
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.