GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP question (https://gfy.com/showthread.php?t=825856)

Smut 05-02-2008 12:39 AM

PHP question
 
$var=explode(""", $string);

I want to explode a string by the " character.

How is this possible without breaking the script?

Any help here is appreciated.

Smut 05-02-2008 12:40 AM

Is it as simple as doing \" ?

borked 05-02-2008 12:55 AM

yes
or use '

ie explode('"', $str);

borked 05-02-2008 12:56 AM

http://www.jeroenmulder.com/weblog/2...ble_quotes.php

Smut 05-02-2008 01:11 AM

Quote:

Originally Posted by borked (Post 14140182)

Nice! Thanks!


All times are GMT -7. The time now is 08:52 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123