@Ariane: Uh, line 14 shouldn't have else and line 24 should concatenate.
But it doesn't really make sense the way it is put, you'll want to group checking by $RechPrenom, $RechNom; not by whether they are empty, right format.
And yes, the formats are done through lazy evaluation and therefore it won't check all of them. In pseudo code it would look like this:
bool errorOccured = false;
if (empty(...))
error about ..., errorOccured = true
else if (wrongFormat(...))
error about ..., errorOccured = true
Repeat the above.
if (!errorOccurred)
take action using the data, displayResults
That way each thing gets its own errors, and no lazy evaluation is involved.
With arrays, functions and objects you can then get rid of the repetitive code if you like...
I usually tend to be friendly and them they why it is not a good idea. In most cases that will be wasted effort. Sometimes it is a user who thinks (s)he was helpful and we do not scare hir away
wasn't expecting to win, It was entirely to see how I'd do, and to get used to the election process. Turning up for the town hall a day early, then oversleeping through the actual town hall meeting is something I'd hope to avoid for example ;p
I had a PowerPoint file with 140 slides that accidentally overwrote with a new blank file of the same name.
I always save my files on SharePoint but this time I forgot it.
I tested applications like Active Recovery and others in quick scan, but they can only restore deleted files, not the last ...
The following is a list of products branded by Nokia Corporation. This list concentrates on the modern Nokia products.
Most Nokia phones will show their model number if the user types *#0000# on its keypad in standby mode and unlocked state, as well as its IMEI number if *#06# is entered. The latter works on most phones available (not only for Nokias).
Mobile phones
Phones in boldface indicates that the phone is a Symbian, Maemo/MeeGo or Windows Phone-powered smartphone.
S.: status, where
*P indicates under production,
*D is discontinued, and
*U is upcoming.
DCT (Digital Core Technol...
I am an Exchange User and Using Exchange Server 2010 suddenlty an error message blinking on my system. When I tried to access my backup database I am unable do so please help me I need immediate access of backup.
Error showed "0xfffffea9 - 0xa000fea9 (2684419753)"
Column Address Strobe (CAS) latency, or CL, is the delay time between the moment a memory controller tells the memory module to access a particular memory column on a RAM memory module, and the moment the data from the given array location is available on the module's output pins. In general, the lower the CAS latency, the better.
In asynchronous DRAM, the interval is specified in nanoseconds. In synchronous DRAM, the interval is specified in clock cycles. Because the latency is dependent upon a number of clock ticks instead of an arbitrary time, the actual time for an SDRAM module to r...
@JourneymanGeek For some reason, I feel like getting a markov chain generator to use in replies (comments/edit rejection messages) to those posts a la random
Got to love UK postage, they actually do their job unlike canada/us post, or even the specialty posts like UPS here, UPS 3-5 days to get here from just across US border, US/CA post, 2-3 weeks to get here from just across US border, UK royal post, from across the sea, 4 days, it's at the last stop before my place and it cost 1/3 what US/CA post would cost
Can some body render an assistant. I have a windows xp machine where our MS access 2003 db is running. I mapped the database folder to only one client machine which i been doing all this while, but i no longer map this folder it giving an error message which is saying that "THERE is NOT ENOUGH ST...
We want to setup a scrolling banner on a wall in the office. We have loads of pc's and monitors that we can use. Are there any banner software or something else that will link all together so the information will scroll from the one screen to the other? The number of monitors that we want to conn...
Also, I don't see composing music needing anywhere near that much RAM :S
CD audio (uncompressed) would have to be 12 hours long to use 8 GB...
if you're composing 'music' that long, in one go, and need to store it all in RAM without some kind of scratch file, I'd say you're probably doing it wrong...
oh thats cute. Someone edited both questions which I used as an example of where only compulsary tags are really needed on a meta site with valid additional tags
Well, I've posted questions with just the discussion tag on MSU before. In fact, a good chunk of them just have one tag, since its all I need - if its to do with general site policy, or what we need to do with a single specific tag. I don't see either of them being any clearer with an additional ...