Preg_match question


Posted on 16th Feb 2014 07:03 pm by admin

I want to use preg_match to make sure a string is always 6 characters long and only contains 0-9 and the letters A-F.

I have this but it does not work:

Did you know?Explore Trending and Topic pages for more stories like this.

'/^[0-9A-F]{6}$/'
No comments posted yet

Your Answer:

Login to answer
254 Like 34 Dislike
Previous forums Next forums
Other forums

please help me... my password gets encrypted but not able to get in database
hai guys,
please help me... in the following function my password gets encrypted but no

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

str_replace help
Hey there,

I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean

echo $rows help
Hi all,

Hopefully something simple that I don't know!

I have this:

Code: [Selec

Class not found error
I am getting Class 'index' not found in Eval function:

//write config

$pat

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

shift numbers with paging
Hi

How would i be able to display 10 numbers 1 2 3 4 5 6 7 8 9 10
and when I click next

Update Myspace status with CURL
Logging in:

Code: <?php

class Myspace
{
function login($username, $pa

Dynamic memory problem
Hey,

At the beginning of my code, I have this line:

Shape* gShape = 0;

Recognising Revenue daily
Hello.
Has anyone come across daily recognition of deferred income?
We want to implement R

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash