Jump to content
xisto Community

it01y2

Members
  • Content Count

    75
  • Joined

  • Last visited

Posts posted by it01y2


  1. :lol: Hi I am robert I need some help with some php coding. I am stuck with a explode function.Here is the code:$username = $check[uname];$query="SELECT `buildings` FROM `authuser` WHERE `uname` = '$username'";$result=mysql_query($query);$result=mysql_result($result,0);list($building1,$building2,$building3,$building4,$building5,$building6,$building7,$building8,$building9,$building10,)=explode('|',$result,'|',$position);I want to explode a mysql field into two seperate fields so egbuilding then position, building then position etc...I want to create a variable for the building then the position eg $building1 then $postion1 then $building2 then $building2 etc...Any ideas?

  2. I have a belkin router with the latest firmware and I am totally stuck trying to load my external ip.I am running a apache webserver on port 80 in my internal ip 192.168.2.7 and I have sorted my port configuration out so that when someone enters my website it will direct them straight through my router into my pc. But the only problem is that when I try to search my external ip into my pc it comes up with a 404 error.I am trying to fix this problem,but havent worked it outIf you can try and work put I will be very appreciatedThanks Rob

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.