صفحه 5 از 5 نخستنخست 12345
نمایش نتایج: از شماره 41 تا 43 , از مجموع 43

موضوع: ورود به سایت من از طریق سایت internet.ir

  1. #41
    عضو جدید behnam_rs232 آواتار ها
    تاریخ عضویت
    Oct 2013
    نوشته ها
    50
    تشکر تشکر کرده 
    102
    تشکر تشکر شده 
    79
    تشکر شده در
    51 پست

    پیش فرض پاسخ : ورود به سایت من از طریق سایت internet.ir

    up

  2. # ADS




     

  3. #42
    کاربر اخراج شده
    تاریخ عضویت
    Sep 2012
    نوشته ها
    4
    تشکر تشکر کرده 
    16
    تشکر تشکر شده 
    130
    تشکر شده در
    95 پست

    پیش فرض پاسخ : ورود به سایت من از طریق سایت internet.ir

    نقل قول نوشته اصلی توسط behnam_rs232 نمایش پست ها
    up
    سلام یه کوئری هست این چمله تو گوگل سرچ کن
    جانشینی کلمه در دیتابیس
    و یا raplace word Database
    بیا خودم سرچیدم
    MySQL database has a handy and simple string function REPLACE() that allows table data with the matching string (from_string) to be replaced by new string (to_string). This is useful if there is need to search and replace a text string which affects many records or rows, such as change of company name, postcode, URL or spelling mistake.

    The syntax of REPLACE is REPLACE(text_string, from_string, to_string)

    MySQL reference describes REPLACE as function that returns the string text_string with all occurrences of the string from_string replaced by the string to_string, where matching is case-sensitive when searching for from_string. text_string can be retrieved from the a field in the database table too. Most SQL command can be REPLACE() function, especially SELECT and UPDATE manipulation statement.
    For example:
    update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this string’, ‘replace found string with this string’);
    update client_table set company_name = replace(company_name, ‘Old Company’, ‘New Company’)
    The above statement will replace all instances of ‘Old Company’ to ‘New Company’ in the field of company_name of client_table table.
    Another example:
    SELECT REPLACE(‘www.mysql.com’, ‘w’, ‘Ww’);
    Above statement will return ‘WwWwWw.mysql.com’ as result.
    و این زیر




    How to find and replace word in text from mysql database?"
    And MySQL table words, with to 3 column id, word and replaceWord. I have more than 4000 words in databese.
    Table:
    id word replaceWord
    1 text sentence
    2 word letter
    3 mysql MySQL
    4 .. ...
    5 .. ...
    6 .. ...Result:
    "How to find and replace letter in sentence from MySQL database?"
    I know how to do this without database, but i need database.
    <?php
    $text="How to find and replace word in text from mysql database?";
    $replaceWord=array( "text" => "sentence", "word" => "letter", "mysql" => "MySQL");
    echo strtr($tekst, $replaceWord);
    ?>
    ویرایش توسط moradbarghi : December 2nd, 2013 در ساعت 14:03

  4. تعداد تشکر ها از moradbarghi به دلیل پست مفید


  5. #43
    عضو جدید behnam_rs232 آواتار ها
    تاریخ عضویت
    Oct 2013
    نوشته ها
    50
    تشکر تشکر کرده 
    102
    تشکر تشکر شده 
    79
    تشکر شده در
    51 پست

    پیش فرض پاسخ : ورود به سایت من از طریق سایت internet.ir

    آقا ممنون از همتون دست گل تک تک تون درد نکنه مشکل لود نشدن عکس ها رو پیدا کردم و رفع شد

صفحه 5 از 5 نخستنخست 12345

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. اخطار Internet Explorer هنگام نمایش سایت
    توسط esmaeili در انجمن مباحث دیگر
    پاسخ ها: 3
    آخرين نوشته: September 6th, 2016, 17:20
  2. اخطار Internet Explorer هنگام نمایش سایت
    توسط esmaeili در انجمن ماژول ، قالب و افزونه ها
    پاسخ ها: 0
    آخرين نوشته: September 6th, 2016, 16:29
  3. درخواست دامنه از سایت internet.bs
    توسط TiTVPS در انجمن درخواست دامین
    پاسخ ها: 1
    آخرين نوشته: June 24th, 2016, 12:54
  4. پاسخ ها: 6
    آخرين نوشته: April 7th, 2015, 17:14
  5. پاسخ ها: 10
    آخرين نوشته: August 18th, 2011, 10:24

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •