vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to use the "$replace" to replace 6 lines? (https://vborg.vbsupport.ru/showthread.php?t=287143)

ChiNa 08-27-2012 08:46 PM

Thank you very much for your great advice.

and 1 more thing, I did not use the FIND variable, if you could maybe short explain that to me,, or you maybe mean the replace will be seen as FIND? Right?..

I have taken a copy of everything, because I know I will have to use it when I later move to vB4.x! I am kinda stuck on vB3.8!

I just released the PostBubbles, for vB3.8 and later I might make one for vB4!
https://vborg.vbsupport.ru/showthread.php?t=287175

I have a few new projects going on, And Scanu You can always call up on me if anything... Thx a lots again.

By the way, i have added you as co-supporter, hope its ok with you

Scanu 08-27-2012 09:44 PM

Don't worry about "co-author" you do all the work i was just helping where i can ;)
For your question
this code
PHP Code:

$find 'find';
$replace 'replace';
$string str_replace($find,$replace,$string); 

And this are same
PHP Code:

$string str_replace('find','replace',$string); 

I hope you understand with this example codes because it's hard to explain with my english skills

ChiNa 08-28-2012 03:12 PM

Come on Scanu, I couldnt have done this without your help.. So ofcs you will be set as a Supporter...

Thanks a lot bro for all what you do for people here... I am proud to see you help others!

And about the FIND CODE: Aha I see brow, As I said befor I am 0 in php! I only know css and HTML :D Thanks a lot bro, I will take all this in my bag...


All times are GMT. The time now is 12:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00940 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete