+ 1

How to write double constants

Hey i want to write username - john And age - 28 but how help <?php define("username""age", " john! ,28"); echo username ; ?>

30th Oct 2018, 8:38 AM
MuneebBukhari
MuneebBukhari - avatar
3 odpowiedzi
+ 2
What do you mean by double constant? Just use two defines: define("username", "john"); define("age", 28);
30th Oct 2018, 9:40 AM
Matthias
Matthias - avatar
+ 2
i doubt this is even how that code should work....
30th Oct 2018, 9:08 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
Thanks
30th Oct 2018, 9:41 AM
MuneebBukhari
MuneebBukhari - avatar