Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
returnPageField
#9
No need to use count. An empty array evaluates to false (I had tested and worked for me, but just in case I searched and found it's how PHP works)

I'll use if($pagesArray) then. Thank you for your comments!
Reply


Messages In This Thread
returnPageField - by Carlos - 2013-05-07, 02:05:46
RE: returnPageField - by shawn_a - 2013-05-07, 02:16:56
RE: returnPageField - by Carlos - 2013-05-07, 05:49:06
RE: returnPageField - by shawn_a - 2013-05-07, 07:28:51
RE: returnPageField - by Carlos - 2013-05-08, 04:37:38
RE: returnPageField - by shawn_a - 2013-05-08, 05:31:39
RE: returnPageField - by Carlos - 2013-05-08, 05:37:19
RE: returnPageField - by shawn_a - 2013-05-08, 06:56:21
RE: returnPageField - by Carlos - 2013-05-09, 00:37:10



Users browsing this thread: 1 Guest(s)