sandy1028 Posted September 4, 2007 Share Posted September 4, 2007 What is the difference between these two statement? Names(1); Names(); Link to comment https://forums.phpfreaks.com/topic/67878-difference-between/ Share on other sites More sharing options...
ToonMariner Posted September 4, 2007 Share Posted September 4, 2007 the first will call a function called 'Names' and pass the parameter '1' to that function. the second just calls the function. Link to comment https://forums.phpfreaks.com/topic/67878-difference-between/#findComment-341175 Share on other sites More sharing options...
sandy1028 Posted September 4, 2007 Author Share Posted September 4, 2007 The output when details fetched from database is First one displays names where the fieldname access=1 and second displays all the names. Link to comment https://forums.phpfreaks.com/topic/67878-difference-between/#findComment-341179 Share on other sites More sharing options...
ToonMariner Posted September 4, 2007 Share Posted September 4, 2007 thats great... Link to comment https://forums.phpfreaks.com/topic/67878-difference-between/#findComment-341181 Share on other sites More sharing options...
Azu Posted September 4, 2007 Share Posted September 4, 2007 The output when details fetched from database is First one displays names where the fieldname access=1 and second displays all the names. :golfclap: Link to comment https://forums.phpfreaks.com/topic/67878-difference-between/#findComment-341205 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.