what does % mean after a variable
Posted: Fri Mar 11, 2016 9:42 am
Hi. I can't believe it's over 10 years and I still don't know nearly as much about this langhuage as I should. Problem is I only use the basics and only care that my script works. Anyway, it's been over 13 years since I was here last. Wow.
So. I'm modifying a calendar script that some guy put up someplace to show people how to make a calendar script. Anyone interested in it can go here: http://www.startutorial.com/articles/vi ... dar-in-php.
I'm going to use it on a couple of web sites for events. I just have a couple of questions maybe someone can help with. Probably simple for php programmers but I'm still in novice class and probably always will be.
What does the percent sign, number and question mark (%7?) mean at the end of a variable. For instance, $cellNumber%7?==1 and $cellNumber%7?==0 .
It's used in line number 129 on script at website below. Thanks.
http://www.startutorial.com/articles/vi ... dar-in-php
So. I'm modifying a calendar script that some guy put up someplace to show people how to make a calendar script. Anyone interested in it can go here: http://www.startutorial.com/articles/vi ... dar-in-php.
I'm going to use it on a couple of web sites for events. I just have a couple of questions maybe someone can help with. Probably simple for php programmers but I'm still in novice class and probably always will be.
What does the percent sign, number and question mark (%7?) mean at the end of a variable. For instance, $cellNumber%7?==1 and $cellNumber%7?==0 .
It's used in line number 129 on script at website below. Thanks.
http://www.startutorial.com/articles/vi ... dar-in-php