| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jun 2004 Location: Ontario , Canada
Posts: 1,103
![]() ![]() ![]() | [resolved] Strings Ok i am trying to add bbcode into one of my pages and here is where im having trouble: Code: $string = "text" Code: $string = "$fetch->quote"
__________________ "Dont argue with an idiot, he will just drag you down to his level and beat you with expeirence. Dont argue with me, ill drag you down to my level and beat you with a baseball bat" :D
Last edited by Mike_Wiseman; 04-27-2007 at 12:02 PM.
|
| |
| | #2 (permalink) |
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() | Try This: PHP Code: |
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Jun 2004 Location: Ontario , Canada
Posts: 1,103
![]() ![]() ![]() | i did that but then i have this error: Parse error: syntax error, unexpected '=' in /home/mafiamay/public_html/a/profile.php on line 105 line 105: Code: $bb-replace = array('','','','');
__________________ "Dont argue with an idiot, he will just drag you down to his level and beat you with expeirence. Dont argue with me, ill drag you down to my level and beat you with a baseball bat" :D |
| |
| | #4 (permalink) | ||||
| Tech Support Join Date: Mar 2005
Posts: 4,944
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
PHP Code: | ||||
| |
| | THREAD STARTER #5 (permalink) |
| Senior Member Join Date: Jun 2004 Location: Ontario , Canada
Posts: 1,103
![]() ![]() ![]() | nvm problem fixed. i just had to echo the $string
__________________ "Dont argue with an idiot, he will just drag you down to his level and beat you with expeirence. Dont argue with me, ill drag you down to my level and beat you with a baseball bat" :D |
| |
| | #6 (permalink) |
| Buy my domains. Join Date: Feb 2006
Posts: 2,792
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Also, if you are going to use a class function inside of double quotation marks, you need to enclose it in brackets. Example: PHP Code: )????: NamePros.com http://www.namepros.com/showthread.php?t=321510 |
| |