Split Output

  • BladiN
  • Born
  • Born
  • BladiN
  • Posts: 2

Post 3+ Months Ago

I've made a sql-query (assoc) with output $insert['province'] and getting this as the result:
Quote:
SiMpLe People of Rhuadar (#138372)Olsenius (#253819)General Fetus (#139523)Legenden (#278132)Juodvarnis (#242080)


In the DB stands:
Quote:
provinceid-province-networth-inactive
1-SiMpLe People of Rhuadar (#138372)-229997-1
2-Olsenius (#253819)-229921-0
3-General Fetus (#139523)-229920-0
4-Legenden (#278132)-229865-0
5-Juodvarnis (#242080)-229857-0


I want the $insert['province'] to be split up in the following so i can print them all in seperate ways:
Quote:
$insert[0] = SiMpLe People of Rhuadar (#138372)
$insert[1] = Olsenius-(#253819)
$insert[2] = General Fetus (#139523)
$insert[3] = Legenden (#278132)
$insert[4] = Juodvarnis (#242080)


Does anyone know how to do this?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 84 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.