Ok I am trying to use array_search
here is the array:
regrinfo->Array
registered->no
domain->Array
name->sdfahjdlfkjhd.net
regyinfo->Array
servers->Array
0->Array
server->net.whois-servers.net
args->domain =sdfahjdlfkjhd.net
port->43
type->domain
rawdata->Array
0->
1->Whois Server Version 2.0
2->
3->Domain names in the .com and .net domains can now be registered
4->with many different competing registrars. Go to
http://www.internic.net
5->for detailed information.
6->
7->No match for domain "SDFAHJDLFKJHD.NET".
to display all the "rawdata" I do
$var[2] but I want to be able to search it for the "No match for domain "SDFAHJDLFKJHD.NET"." so this is what I have for that:
$sdomain = submitted domain and $stld = submitted tld. The error I am getting is
Quote:
|
Originally Posted by My Web Server
Warning: array_search() [function.array-search]: Wrong datatype for second argument in /home/web/main_site/public_html/order.php on line 26
|