and en or in een if sentence

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Senior Backend developer - Automotive

We are looking for a highly motivated and experienced Backend developer. Required Qualifications: ● 6+ years experience with a server-side programming technology ● Experience with SQL Databases ● Experience with Go(lang) ● Experience with GCP ● Hands-on test-driven development (TDD), data analytics, and SQL experience ● Experience in producing REST and RPC based services ● Experience building secure and highly-available distributed systems/microservices ● Experience with Git-based versioning and Git workflows ● Knowledge of Redis, Docker, Setting up CI/CD pipelines and Unix command line ● Knowledge of Jira and Scrum techniques ● Excellent communication skills ● Must be a self-starter with

Bekijk vacature »

Louis Deconinck

Louis Deconinck

13/06/2015 15:30:27
Quote Anchor link
kan ik deze 2 in 1 if sentence plaatsen?

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
<?php
if ($v==1 and $_COOKIE["b".$id]==0) {
setcookie ("b".$id, 1, 2147483647);
}


if ($v==1 and $_COOKIE["b".$id]==2) {
setcookie ("b".$id, 1, 2147483647);
}

?>
 
PHP hulp

PHP hulp

16/09/2021 18:03:12
 
- SanThe -

- SanThe -

13/06/2015 16:18:07
Quote Anchor link
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
<?php
if ($v==1 and ($_COOKIE["b".$id]==0 or $_COOKIE["b".$id]==2)) {
setcookie ("b".$id, 1, 2147483647);
}

?>
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.