Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2017, 01:58 PM
TTayfun's Avatar
TTayfun TTayfun is offline
 
Join Date: Aug 2011
Location: Istanbul, Turkey
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default preg_replace

i want to replace this part:

Code:
<pre class="alt2" dir="ltr" style="
		margin: 0px;
		margin-top: 5px;
		padding: 4px;
		border: 1px inset;
		width: 650px;
		height: 50px;
		text-align: left;
		overflow: auto">

with $vbphrase[nolink]. what it comes true xxxxx? in code below:

PHP Code:
$this->post['message'] = preg_replace("xxxxx", $vbphrase[nolink], $this->post['message']); 
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:47 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.