Doormat:Doormat @ 19:42:10
I also need to explode() the inside contents
Doormat:Doormat @ 19:42:22
not to mention getting the id value
Samario:Samario @ 19:42:44
explode(Toaster)
Dav999:Dav999 (admin) @ 19:42:49
No
Doormat:Doormat @ 19:42:56
that's not what explode() does
Dav999:Dav999 (admin) @ 19:42:56
That would yield an error
Dav999:Dav999 (admin) @ 19:43:09
Let's get technical
Dav999:Dav999 (admin) @ 19:44:11
$array = explode('|','Test|test2'); echo $array[0]; // => Test
Doormat:Doormat @ 19:44:26
I know how explode() works
Dav999:Dav999 (admin) @ 19:44:31
(I know you know)
Dav999:Dav999 (admin) @ 19:44:35
I was talking to Samario
Doormat:Doormat @ 19:44:39
ok
Dav999:Dav999 (admin) @ 19:44:44
Now let's continue while Samario figures it out
Doormat:Doormat @ 19:44:59
I need to get the content and id number of the first <vid>
Doormat:Doormat @ 19:45:03
that's it
Samario:Samario @ 19:45:32
$array = explode('|','Toaster|OT'); echo $array[0]; // => better?
Doormat:Doormat @ 19:45:45
that will just seperate the two
Dav999:Dav999 (admin) @ 19:46:00
explode does not destroy things at all
Doormat:Doormat @ 19:46:08
^
Dav999:Dav999 (admin) @ 19:46:19
It just splits strings, given a certain delimiter
Samario:Samario @ 19:46:25
blowup(toaster)
Dav999:Dav999 (admin) @ 19:46:32
That doesn't exist
Doormat:Doormat @ 19:46:33
that's not even a PHP command
Doormat:Doormat @ 19:46:50
anyways dav
Samario:Samario @ 19:47:25
wait this is PHP?
Doormat:Doormat @ 19:47:29
yes.
Dav999:Dav999 (admin) @ 19:47:49
I just actually broke an entire site trying to do that
Dav999:Dav999 (admin) @ 19:47:53
You win Samario
Dav999:Dav999 (admin) @ 19:47:56
It worked
Samario:Samario @ 19:48:05
\o/
Doormat:Doormat @ 19:48:16
but toaster is intact
Samario:Samario @ 19:48:27
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO