I keep this error in my error log and I'm not sure why I have seen everywhere and Google has But I lost and I need help: If you need this, then this is the full code: UPDATE The issue was that code $ was further declared under the code. Once I decided that, it worked perfectly. Thanks to everyone who answered! There is a problem with your connection $ connection, it is not connected and return empty < / Div>
$ getlatlong = mysql_query ("choose from * zipcity where zip = '" $ url [2] "'", $ thief). $ Ll = mysql_fetch_array ($ getlatlong);
Current_group- & gt; Name; $ Group_id = $ bp- & gt; Group-> Current_group- & gt; Id; $ Groupll = groups_get_groupmeta ($ group_id, $ meta_key = 'latlong'); $ Groupnamecount = strlen ($ group_name); $ Groupcity = groups_get_groupmeta ($ group_id, $ meta_key = 'city'); $ Groupstate = groups_get_groupmeta ($ group_id, $ meta_key = 'state'); $ Mapaddress = $ group_name '+'. $ Groupcity '+'. $ Groupstate; If ($ groupnamecount == '5') {$ grouptype = "zip"; } If ($ grouttpe == "zip") {$ url = explosion ('/', $ _ server ['REQUEST_URI']); $ Zip = $ url [2]; $ Getlatlong = mysql_query ("Select * Zipcode Zip = '". $ Url [2]. "'", $ Conn); $ Ll = mysql_fetch_array ($ getlatlong); } And {$ groupcity = groups_get_groupmeta ($ group_id, $ meta_key = 'city'); $ Groupstate = groups_get_groupmeta ($ group_id, $ meta_key = 'state'); $ Mapaddress = $ group_name '+'. $ Groupcity '+'. $ Groupstate; }
No comments:
Post a Comment