Jump to content

Send Method


shane18

Recommended Posts

Why if you send a xmlhttprequest u need to put

 

send(null)

 

...

 

why can't you just put send()

 

why is the "null" required... is it because this function doesn't have a default value for its argument which makes it a requirement? because most php functions for example have optional arguments so if u don't need to set a certain value for a argument it just ignores it...

Link to comment
https://forums.phpfreaks.com/topic/202531-send-method/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.