concat

search for more blogs here

 

"General Discussion :: RE: GETTING ERROR:INVALID FORMED PARAMETER" posted by ~Ray
Posted on 2008-11-13 12:37:54

well friend i overcome that problem i did few changes in the script. Now another problem that script is not working for the data which is below.#Airline contract:* ASA4790 Preferred Partner nett fares to HKG #Ticketing/Sales:* Ticketing: Must be ticketed outside 60 days of departure. If booking is within 60 days ticket within 14 days days. Must be on NZ (086) ticket stock* Sales period: until 30JUN07 #Application:* Travelperiod:07JUN06-30JUN07* Eligibility: --- #Important:* Tax: Exclusive* Waitlist: Permitted* Creditcards: ---* Reconfirmation: ---* Miles program: Loyalty accrual. Eligible for Loyalty upgrades and companion tickets. Children and/or infants travelling with an adult on a loyalty redemption ticket do so at the applicable child and infant discount rates* OSI: Dealcode must be entered in the OSI field. Ticket numbers must be entered in the booking as an OSI* E-Tickets: --- #Combinations:* Classmix: Permitted on a 1/2 round-trip basis. Most restrictive rule applies. The bookings class used on the inbound journey must be permitted for travel based on the outbound departures.* Other: --- #Open return:*--- #PTA/TOD:* PTA: Not permitted. #One ways:* Permitted. #Various:*UM (5-11 years) permitted with completed UMNR codumentation at adult fare level.* Infant: First Infant to pay 10% of the total adult fare. Second infant to pay 75% of the total adult fare. No more than 2 infants permitted per travelling adult.* Reissue/rerouting: Permitted service" fee may apply. Fare must be recalculated and the new ticket must be equal or greater value.* Names: Full name to be entered in booking as per passport. Name changes are not permitted in the result it still leaving empty lines#Ticketing/Sales: Ticketing: Advanced purchase of 42 days. Must be ticketed within 14 days. Must be on NZ (086) ticket stock Sales period: Until 30JUN07 #Important: Tax: Exclusive Creditcards: --- Miles program: Loyalty accrual. Eligible for Loyalty upgrades and companion tickets. Children and/or infants travelling with an adult on a loyalty redemption ticket do so at the applicable child and infant discount rates#Combinations: Classmix: Permitted on a 1/2 round-trip basis. Most restrictive rule applies. The bookings class used on the inbound journey must be permitted for travel based on the outbound departures. Other: --- --- PTA: Not permitted. Permitted. #Various:UM (5-11 years) permitted with completed UMNR codumentation at adult fare level. Infant: First Infant to pay 10% of the total adult fare. Second infant to pay 75% of the total adult fare. No more than 2 infants permitted per travelling adult. Reissue/rerouting: Permitted service"" fee may apply. Fare must be recalculated and the new ticket must be equal or greater value. Names: Full name to be entered in booking as per passport. Name changes are not permitted.[b]means it is not working consistently......... or there is something wrong with the data....... another question friend it is regarding the " quotes i want data as it is this possible that i can replace that double qoutoes in to single quotes. [/b]_________________hi every one. hi. Is there any problem in this data or any character which it is again taking as a telemeter because the deleting empty line's is not working properly. Rest the script is working fine.#Airline contract:* ASA4790 Preferred Partner nett fares to HKG#Ticketing/Sales:* Ticketing: Must be ticketed outside 60 days of departure. If booking is within 60 days ticket within 14 days days. Must be on NZ (086) ticket stock* Sales period: until 30JUN07#Application:* Travelperiod:07JUN06-30JUN07* Eligibility: ---#Important:* Tax: Exclusive* Waitlist: Permitted* Creditcards: ---* Reconfirmation: ---* Miles program: Loyalty accrual. Eligible for Loyalty upgrades and companion tickets. Children and/or infants travelling with an adult on a loyalty redemption ticket do so at the applicable child and infant discount rates* OSI: Dealcode must be entered in the OSI field. Ticket numbers must be entered in the booking as an OSI* E-Tickets: ---#Combinations:* Classmix: Permitted on a 1/2 round-trip basis. Most restrictive rule applies. The bookings class used on the inbound journey must be permitted for travel based on the outbound departures.* Other: ---#Open return:*---#PTA/TOD:* PTA: Not permitted.#One ways:* Permitted.#Various:*UM (5-11 years) permitted with completed UMNR codumentation at adult fare level.* Infant: First Infant to pay 10% of the total adult fare. Second infant to pay 75% of the total adult fare. No more than 2 infants permitted per travelling adult.* Reissue/rerouting: Permitted service" fee may apply. Fare must be recalculated and the new ticket must be equal or greater value.* Names: Full name to be entered in booking as per passport. Name changes are not permitted. And one more thing if i m trying to replace double quotes to single again than where to use String replace again why it is not working properlyPls dear friend let me know......._________________hi every one. GetCLipBoard>clipSeparate>clip,CRLF,linesLet>new_clip=Let>lnum=0Repeat>lnum Let>lnum=lnum+1 Let>this_line=lines_%lnum% If>this_line<> Let>new_clip=%new_clip%%this_line%%CRLF% EndifUntil>lnum=lines_countPutClipBoard>new_clip It produced:#Airline contract:* ASA4790 Preferred Partner nett fares to HKG#Ticketing/Sales:* Ticketing: Must be ticketed outside 60 days of departure. If booking is within 60 days ticket within 14 days days. Must be on NZ (086) ticket stock* Sales period: until 30JUN07#Application:* Travelperiod:07JUN06-30JUN07* Eligibility: ---#Important:* Tax: Exclusive* Waitlist: Permitted* Creditcards: ---* Reconfirmation: ---* Miles program: Loyalty accrual. Eligible for Loyalty upgrades and companion tickets. Children and/or infants travelling with an adult on a loyalty redemption ticket do so at the applicable child and infant discount rates* OSI: Dealcode must be entered in the OSI field. Ticket numbers must be entered in the booking as an OSI* E-Tickets: ---#Combinations:* Classmix: Permitted on a 1/2 round-trip basis. Most restrictive rule applies. The bookings class used on the inbound journey must be permitted for travel based on the outbound departures.* Other: ---#Open return:*---#PTA/TOD:* PTA: Not permitted.#One ways:* Permitted.#Various:*UM (5-11 years) permitted with completed UMNR codumentation at adult fare level.* Infant: First Infant to pay 10% of the total adult fare. Second infant to pay 75% of the total adult fare. No more than 2 infants permitted per travelling adult.* Reissue/rerouting: Permitted service" fee may apply. Fare must be recalculated and the new ticket must be equal or greater value.* Names: Full name to be entered in booking as per passport. Name changes are not permitted._________________Regards,Marcus Tettmar Blog: Please do not email or PM me with private support requests - post questions to the forum so that everyone benefits. For fast guaranteed private support please send email via our web site. hi friend this is regarding the error' (Incorrectly formed parameter's invalid parameter to copy and G is not appropriate) is coming is there any way to overcome with this problem because i want the data as it given to me ?well i m in trouble friend how can i do and one more doubt i have below a data is given in this data there are few string in large font size isthis create any problem ? i hope it should not. But want to confirm from your side what if a string is between (" ") quotes ? or need to check line by line so as " comes replace by "" and as the operation complete again change that in to the " codes i m bit week in programming can u pls tell the script i gave u. Pls friend help me out ?#Airline contract:* BRITISH AIRWAYS 948 Youth & Student fares #Ticketing/Sales:!!! Tickets must be issued within following deadlines !!!Reservations more than 29days before departure=ticket within 30days after bookingand no later than 30days before departureReservations 29-07days before departure= ticket within 07days after reservationsReservations 06-00days before departure=ticket within 01days after reservationsThe booking will be cancelled if the ticketing deadlines are not adhered to.* Sales period: Until 31MAR09 #Application:* Travelperiod: 01APR08-31MAR09* Eligibility: ISIC cardholders must be aged between 16 and 34 inclusive. Youth cardholders must be aged between 12 and 25 inclusive. Spouse is not eligible on these fares. Dependent children and infants may not travel on these fares. ISIC/IYTC card number must be entered in the booking. #Important:* Tax: Exclusive.* Waitlist: ---* Creditcards: ---* Reconfirmation: ---* Miles program: ---* OSI: Enter OSI remark "GGAIRBAGSTUDENT"ISIC/IYTC card number must be entered in the booking.* E-Tickets: Permitted. #Combinations:* Classmix: ---* Other: --- #Open return:* Not permitted. #PTA/TOD:* PTA: --- #One ways:* --- #Various:* Rebooking: Permitted. Changes made directly at BA office will incur a minimum charge of USD30 (or local equivalent)Please check BA international Travel Help document for the procedures to date change via the International Help Desk. IMPORTANT: Date changes are only permitted before the travel date. If passengers no-show for their flight STA Travel International Division or Partner office will not be able to make a date change. Passengers will have to contact a BA office for re-booking and will be subject to BA booking fees. Partially used tickets will NOT be eligible for refund.* Cancellation: Once ticket is issued cancellation without penalty is only permitted by close of business on the same day i e a ticket issued at 9AM must be cancelled by 6PM the same day. After ticket have been issued the following cancellation charges apply:Before departure: USD100After departure: all tickets are non refundable.* Reconfirmation: Contact local BA office at least 72 hours prior to departure.* Vice-Versa Fares: Oneway and Return fares are not available vice versa.* Endorse tickets with eligibility card numbers (if applicable)* Export of tickets not permitted._________________hi every one. hi friend,here i m giving u the script i want to check this " line by line than replace by "" as said than when operation (as mentioned complete ) again "" should replace by ". GetClipBoard>remarksSeparate>remarks,#,aRemarksLet>k=1Let>xyz=let>SubRemarks=Repeat>kLet>k=k+1Let>new=aRemarks_%k%StringReplace>new,","",new Let>Heading={Copy(%new%,1,Pos(":",%new%))}if>{(%Heading%="PTA/TOD:") or (%Heading%="Open return:") or (%Heading%="One ways:") }Let>pqr=1Let>Heading=else>Let>pqr=2endif// remove the unrequired headings and content if>{(%Heading%="Airline contract:")or(%Heading%="Application:")}// do nothingelseConCat>Heading,{Copy(%new%,Pos(":",%new%)+1,1)} Separate>new,*,astseplet>b=%astsep_count%if>b>1 let>a=1 Repeat>a Let>a=a+1 let>nxtast=astsep_%a% MidStr>nxtast,2,4,pos if>{(%pos%="Wait") or (%pos%="Reco") or (%pos%="OSI:")or(%pos%="E-Ti") } // nothing to do Else//ConCat>SubRemarks,*ConCat>SubRemarks,nxtast Endif Until>a=b if>pqr=2 ConCat>xyz,# ConCat>xyz,Heading endif Concat>xyz,SubRemarks // ConCat>xyz,%CR% else ConCat>xyz,# // ConCat>xyz,Heading Concat>xyz,new //ConCat>xyz,%CR% endifendiflet>SubRemarks=Until>k,%aRemarks_count%Separate>%xyz%,CRLF,lines//MessageModal>%xyz%Let>new_clip=Let>lnum=0Repeat>lnum Let>lnum=lnum+1 Let>this_line=lines_%lnum% // MessageModal>%this_line% If>this_line<Let>new_clip=%new_clip%%this_line%%CRLF% EndifUntil>lnum=lines_count//MessageModal>%new_clip%PutClipBoard>new_clipi m hoping i will have answer soon ?Desperately waiting for reply ? GetClipBoard>remarksSeparate>remarks,#,aRemarksLet>k=1Let>xyz=let>SubRemarks=Repeat>kLet>k=k+1Let>new=aRemarks_%k%StringReplace>new,","",newLet>Heading={Copy(%new%,1,Pos(":",%new%))}if>{(%Heading%="PTA/TOD:") or (%Heading%="Open return:") or (%Heading%="One ways:") }Let>pqr=1Let>Heading=else>Let>pqr=2endif// remove the unrequired headings and contentif>{(%Heading%="Airline contract:")or(%Heading%="Application:")}// do nothingelseConCat>Heading,{Copy(%new%,Pos(":",%new%)+1,1)}//Double quotes no longer needed now?StringReplace>new,"",",newSeparate>new,*,astseplet>b=%astsep_count%if>b>1let>a=1Repeat>aLet>a=a+1let>nxtast=astsep_%a%MidStr>nxtast,2,4,posif>{(%pos%="Wait") or (%pos%="Reco") or (%pos%="OSI:")or(%pos%="E-Ti") }// nothing to doElse//ConCat>SubRemarks,*ConCat>SubRemarks,nxtastEndifUntil>a=bif>pqr=2ConCat>xyz,#ConCat>xyz,HeadingendifConcat>xyz,SubRemarks// ConCat>xyz,%CR%elseConCat>xyz,#// ConCat>xyz,HeadingConcat>xyz,new//ConCat>xyz,%CR%endifendiflet>SubRemarks=Until>k,%aRemarks_count%Separate>%xyz%,CRLF,lines//MessageModal>%xyz%Let>new_clip=Let>lnum=0Repeat>lnumLet>lnum=lnum+1Let>this_line=lines_%lnum%// MessageModal>%this_line%If>this_line<> Let>new_clip=%new_clip%%this_line%%CRLF%EndifUntil>lnum=lines_count//MessageModal>%new_clip%PutClipBoard>new_clip I think I have put it in the right place but your code is hard to read. You should consider using comments. Also when pasting code into the forum follow the instructions and use the CODE button so that it appears unmolested as above._________________Regards,Marcus Tettmar Blog: Please do not email or PM me with private support requests - post questions to the forum so that everyone benefits. For fast guaranteed private support please send email via our web site. Last edited by mtettmar on Mon Oct 29. 2007 10:56 am; edited 1 time in total #Ticketing/Sales: Sales period: Until 31MAR09#Important: Tax: Exclusive. Creditcards: --- Miles program: ---#Combinations: Classmix: --- Other: --- Not permitted. PTA: --- ---#Various: Rebooking: Permitted. Changes made directly at BA office will incur a minimum charge of USD30 (or local equivalent)Please check BA international Travel Help document for the procedures to date change via the International Help Desk. IMPORTANT: Date changes are only permitted before the travel date. If passengers no-show for their flight STA Travel International Division or Partner office will not be able to make a date change. Passengers will have to contact a BA office for re-booking and will be subject to BA booking fees. Partially used tickets will NOT be eligible for refund. Cancellation: Once ticket is issued cancellation without penalty is only permitted by close of business on the same day i e a ticket issued at 9AM must be cancelled by 6PM the same day. After ticket have been issued the following cancellation charges apply:Before departure: USD100After departure: all tickets are non refundable. Vice-Versa Fares: Oneway and Return fares are not available vice versa. Endorse tickets with eligibility card numbers (if applicable) Export of tickets not permitted. Note - no empty lines._________________Regards,Marcus Tettmar Blog: Please do not email or PM me with private support requests - post questions to the forum so that everyone benefits. For fast guaranteed private support please send email via our web site. ok i m giving u the data first data on which script is working properly and other for which script not works properly this may give u some idea why it is not working ?// DATA FOR WHICH SCRIPT IS WORKING #Airline contract:* BA TO Fares 01APR08-31MAR09#Ticketing/Sales:* Ticketing: E-tickets need to be issued 1 month prior to departure.* Sales period: Until 31MAR09#Application:* Travelperiod: 01APR08-31MAR09* Eligibility: ---#Important:* Tax: Exclusive.* Waitlist: Not permitted.* Creditcards: Not permitted.* Reconfirmation: ---* Miles program: ---* OSI: In order not to receive any ADM for bookings in SLM class the code TOFA has to be inserted in each pnr. In case this code is not added this might result in booking being cancelled or ADM sent for violation of ticket time limit of published fare in CRS. No waivers will be granted or accepted OSBATOFA.* E-Tickets: ---#Combinations:* Classmix: Permitted within O/S/L/M-class.* Other: ---#Open return:* Not permitted.#PTA/TOD:* ---#One ways:* Not permitted.#Various:* Rebooking: 1 Date change permitted at EUR 100 (in same bookingclass)* Rerouting: Permitted at EUR 100 penalty and pay the difference if any between the original fare paid and the new applicable fare for the new routing.* Name change: Not permitted.* UM: Not permitted.* Some nationalities require a transit visa for travel via the UK. Please check accordingly.* Fares are not valid for group travel (10 pax and more).// CLOSE// DATA FOR WHICH SCRIPT IS NOT WORKING PROPERLY#Airline contract:* ASA4790 Preferred Partner nett fares to HKG #Ticketing/Sales:* Ticketing: Must be ticketed within 14 days. Must be on NZ (086) ticket stock* Sales period: Until 30JUN07 #Application:* Travelperiod: 07JUN06-30JUN07* Eligibility: --- #Important:* Tax: Exclusive* Waitlist: Not permitted* Creditcards: ---* Reconfirmation: ---* Miles program: Loyalty accrual. Eligible for Loyalty upgrades and companion tickets. Children and/or infants travelling with an adult on a loyalty redemption ticket do so at the applicable child and infant discount rates* OSI: Dealcode must be entered in the OSI field. Ticket numbers must be entered in the booking as an OSI* E-Tickets: --- #Combinations:* Classmix: Permitted on a 1/2 round-trip basis. Most restrictive rule applies. The bookings class used on the inbound journey must be permitted for travel based on the outbound departures.* Other: --- #Open return:*--- #PTA/TOD:* PTA: Not permitted. #One ways:* Permitted. #Various:*UM (5-11 years) permitted with completed UMNR codumentation at adult fare level.* Infant: First Infant to pay 10% of the total adult fare. Second infant to pay 75% of the total adult fare. No more than 2 infants permitted per travelling adult.* Reissue/rerouting: Permitted service" fee may apply. Fare must be recalculated and the new ticket must be equal or greater value.* Names: Full name to be entered in booking as per passport. Name changes are not permitted well it is strange ?hope i will have answer friend ? //_________________hi every one. #Ticketing/Sales: Ticketing: Must be ticketed within 14 days. Must be on NZ (086) ticket stock Sales period: Until 30JUN07#Important: Tax: Exclusive Creditcards: --- Miles program: Loyalty accrual. Eligible for Loyalty upgrades and companion tickets. Children and/or infants travelling with an adult on a loyalty redemption ticket do so at the applicable child and infant discount rates#Combinations: Classmix: Permitted on a 1/2 round-trip basis. Most restrictive rule applies. The bookings class used on the inbound journey must be permitted for travel based on the outbound departures. Other: ------ PTA: Not permitted. Permitted.#Various:UM (5-11 years) permitted with completed UMNR codumentation at adult fare level. Infant: First Infant to pay 10% of the total adult fare. Second infant to pay 75% of the total adult fare. No more than 2 infants permitted per travelling adult. Reissue/rerouting: Permitted service" fee may apply. Fare must be recalculated and the new ticket must be equal or greater value. Names: Full name to be entered in booking as per passport. Name changes are not permitted. What is the problem with it?_________________Regards,Marcus Tettmar Blog: Please do not email or PM me with private support requests - post questions to the forum so that everyone benefits. For fast guaranteed private support please send email via our web site.

Forex Groups - Tips on Trading

Related article:
http://www.mjtnet.com/usergroup/viewtopic.php?p=18050#18050

comments | Add comment | Report as Spam


"Re: language switcher in 3.10" posted by ~Ray
Posted on 2007-12-15 15:13:30

<div id="language-switcher"><a href="{concat(''. $DesignKeys:used url_alias)}">English</a> | <a href="{concat(''. $DesignKeys:used url_alias)}">Espa&ntilde;ol</a> | <a href="{concat(''. $DesignKeys:used url_alias)}">Fran&ccedil;ais</a></div> <div id="language-switcher"><a href="{concat(' | <a href="{concat(' | <a href="{concat('</div> <div id="language-switcher"><a href="{concat(' | <a href="{concat(' | <a href="{concat('</div> Which of cover does not bring home the bacon because the url_alias on the English site is different to the aliases for the other language sites. What it needs to produce is this: <div id="language-switcher"><a href="{concat(' | <a href="{concat(' | <a href="{concat('</div> However. I can't bring home the bacon out any way to extract the other languages' url_alias from ezpublish. I've done this as a temporary fix but it's not ideal: <div id="language-switcher"><a href="{concat(''. $uri_string)}">English</a> | <a href="{concat(''. $uri_arrange)}">Espa&ntilde;ol</a> | <a href="{concat(''. $uri_arrange)}">Fran&ccedil;ais</a></div> From looking at the 3.9 webin extension it seems to me this problem would alter the language switcher there too. I can't be to find a 3.10 webin though to analyse. Any ideas?ThanksMatthew Ok the new url system is magic it has only a little tiny missing feature: you can't make a link between two languages of the same content ;)The previous system was already ugly as you had to label by transfer the relation between each language and their siteaccess but at least it worked. To alter it short what I'd like to do (from any full tpl): $translation=fetch("translations"){foreach $transations=channel("content","translation",$node node_id}<li><a href="$translation full_uri">$translation name</... In the full uri. I be the beat uri of the right languageif domain name based if url based I want it to experience desire a big boy what siteaccess config is the one to use for each language and I want it to exclude from the list the current language that it's displaying. I want it to work like it's expected to. Quite frankly. I'm stunned that this feature that's been planned for addition since 3.7 or so has been that missing the point oh and while we are at it (I spread it already elsewhere in the forums):an alias should return a 301 permanent redirect to the real url alias (not show the page) as should /circumscribe/view/fulllast but not the least if someone could point me on a simple example on how to bring down() the urls (url_alias is fine but a more than 80 char url is simply not practicable we should be able to easily limit the length of any url alias end of the rantX+ Hi,I'm having also problems making a language switcher. I open it is done in the admin in the template create by mental act/admin/templates/content/urlalias tpl. That template uses a variable wich has all the alias in all the languages for a given node. It's $elements on line 206 an array. I cannot find in what template that array is created but i'm prety sure there is the say to the multilingual url alias. If you wanna see how it works in the admin it's in the left menu click on any icon --> Advanced --> Manage url alias ( my admin is in spanish so maybe not exactly that ). There you can see how the admin is fetching from somewhere the alias for every language of that node. Any one can find how to bend this in our templates??Thanks,Luis Muñoz Thanks Luis for this dilate it headed me to a method on how to write a custom template operator to channel the url_alias by node-id and locale. Maybe it's of use for some of you struggling with your language switchers. Example usage: <a href={fetch_url_alias($node node_id. 'ger-DE')|ezurl()}>construe it in german</a><a href={fetch_url_alias($node node_id. 'eng-US')|ezurl()}>Read it in english</a> Additionally here's the relevant part of the navigation. It ordain fail to the parent node if the current node is not translated into the target language. Same goes for the parent node and so on lang_navi html {* list with node-id's on the way to the main node *}{def $node_path=arrange()} {* unavailable locales on each aim *}{def $na_locales=arrange()} {* path not necessary if we're already at the main summon *}{if $node node_id|ne(2)} {* start with current node *} {def $curr_node=$node} {* go across the path to the top *} {for $pagedepth to 2 as $i} {* remember all node-ids on the way *} {set $node_path=$node_path|append($curr_node node_id)} {* channel unavailable translations *} {def $node_na_locales=fetch('circumscribe'. 'non_translation_enumerate' hash('object_id'. $curr_node contentobject_id. 'version'. $curr_node contentobject_version) )} {* pack unavailable locale codes into an array *} {def $node_na_lcodes=arrange()} {foreach $node_na_locales as $node_na_locale} {set $node_na_lcodes=$node_na_lcodes|append($node_na_locale locale_label)} {/foreach} {* deliver the unavailable locale code-array to the parent array *} {set $na_locales=$na_locales|attach($node_na_lcodes)} {undef $node_na_lcodes} {undef $node_na_locales} {* continue with the parent node *} {set $curr_node=fetch('content'. 'node' hash('node_id'. $curr_node parent_node_id))} {/for}{/if} The functionality for choosing the right node and generating a localized link is in an external template that get's called like this: <div id="language_chooser">[...] {include uri='design:menu/lang_item tpl' node_path=$node_path na_locales=$na_locales domain='www foo de' locale_label='ger-DE' locale_desc='Deutsch'} {include uri='create by mental act:menu/lang_item tpl' node_path=$node_path na_locales=$na_locales domain='www foo com' locale_code='eng-US' locale_desc='English'}[...] </div> {* traverse through all nodes and check if they're available in the desired language *}{foreach $node_path as $index => $node_id} {if not($na_locales[$list]|contains($locale_code))} {def $final_node=$node_id} {end} {/if}{/foreach} {* If no translated node has been found point to the list page *}{if not(is_set($final_node))} {def $url_alias=concat('/')|ezurl('no')}{else} {def $alias_path=fetch_url_alias($final_node. $locale_code)} {def $url_alias=concat('/'. $alias_path)|ezurl('no')}{/if} <div categorise="lang_item"> <a href="http://{$domain}{$url_alias}"> <img alt="{$locale_desc|process()}" src={concat("menu/". $locale_code. "/flag gif")|ezimage('double')}/> &nbsp;{$locale_desc|wash()} </a></div> {undef $final_node}

Forex Groups - Tips on Trading

Related article:
http://www.ez.no/developer/forum/setup_design/language_switcher_in_3_10/re_language_switcher_in_3_10__5

comments | Add comment | Report as Spam


"Using CONCAT and multiple tables in a select clause (1 reply)" posted by ~Ray
Posted on 2007-11-27 20:38:45

(MySQL com) Hi everyone,I have 2 tables : T1 and T2 to get an entire telecommunicate address (left part from T1 in column "login" and domain from T2 in column "name") The simple sql query would be :SELECT CONCAT (t1 login. '@' t2 name) FROM T1 t1. T2 t2 WHERE t1 d - News Headlines Updated 24 Hours a Day is a label of Avant Garde Creatives. Inc. This place its create by mental act and all associated software © 2005. Avant Garde Creatives. Inc. All rights reserved. All circumscribe is provided for your personal non-commercial use in accordance with the termsof its providers. HDLNS (dot com) is friendly. Additional.

Forex Groups - Tips on Trading

Related article:
http://hdlns.com/g503zf1268za12759002/Using+CONCAT+and+multiple+tables+in+a+select+clause+(1+reply)

comments | Add comment | Report as Spam


"Array.concat() and it's uses..." posted by ~Ray
Posted on 2007-11-17 15:51:42

I'm just wondering if anyone can back up me with an issue:Say I have either of the examples below:var fruits = new Array("lemon". "apple". "orange". "scatter")or var fruits = new Array()fruits[0] = "lemon";fruits[1] = "apple";fruits[2] = "orange";fruits[3] = "lime";Now why if I use the concat() do I receive an "unidentified" attached to the end?fruits[0] concat(fruits[3]);I'm looking for "lemonlime" not "lemonlimeunidentified"... var fruits =["lemon". "apple". "orange". "lime"];alert(fruits[0] concat(fruits[3]));I undergo no problem with this in IE7,Opera9,or Firefox2-I had to analyse. I always use fruits[0]+ fruits[3]. mrhoodid you try the second example to see if it would work?I was using:enter write(fruits[0] concat(fruits[3]); var fruits = new Array()fruits[0] = "lemon";fruits[1] = "apple";fruits[2] = "orange";fruits[3] = "lime";alert(fruits[0] concat(fruits[3]));I get lemonlime for the warn and for document write... try the same with "document create verbally();" maybe that's where I'm having the problem... This has nothing to do with your problem which I can't reproduce but your title is do by. You are using String concat not Array concat. Array concat returns a new Array by chaining Arrays together end to end var A=[1,2,3];var B=[3,2,1];var C= A concat(B);A and B still undergo their original values. C=[1,2,3,3,2,1];String has its own concat which you are using on individual arrange members. Same as using '+'. Powered by vBulletin® Version 3.5.7Copyright ©2000 - 2007. Jelsoft Enterprises Ltd.

Forex Groups - Tips on Trading

Related article:
http://www.webdeveloper.com/forum/showthread.php?t=160484&goto=newpost

comments | Add comment | Report as Spam


"Ticket #9411 (defect created): Custom Array.concat for Opera fails ..." posted by ~Ray
Posted on 2007-11-09 17:36:28

The following conjoin of label is seen in prototype (because function argumetns is an dilate of an Array in Opera) if (Prototype. Browser. Opera){ Array prototype concat = function() { var array = []; for (var i = 0 length = this length; i < length; i++) arrange displace(this[i]); for (var i = 0 length = arguments length; i < length; i++) { if (arguments[i] constructor == Array) { for (var j = 0 arrayLength = arguments[i] length; j < arrayLength; j++) arrange displace(arguments[i][j]); } else { arrange push(arguments[i]); } } return arrange; }} The problem: what if arguments[i] in the back up loop is undefined or null?This affects this website The color add don't work. The solution is very simple. Changeif (arguments[i] constructor == Array) {toif (arguments[i] && arguments[i] constructor == arrange) {

Forex Groups - Tips on Trading

Related article:
http://dev.rubyonrails.org/ticket/9411

comments | Add comment | Report as Spam


"simple question on string concat" posted by ~Ray
Posted on 2007-10-28 12:13:35

High Level Programming affix questions about C. C++. Java and other high level languages here. burn *str = NULL;int num = 0;scanf ("%d". &num);str = I want str to inform to the string num txtFor e g: If user enters num = 5,str should inform to "5 txt"How do I do that ?Thanks char buf[10];snprintf(buf,sizeof(buf),"%d txt",num);str=buf; Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) Powered by: . procure &write;2000 - 2006. Jelsoft Enterprises Limited. or your scheduled tasks ordain cease to function --> UNIX Forum Content Copyright ©1993-2007 All Rights Reserved. Sponsors: .

Forex Groups - Tips on Trading

Related article:
http://www.unix.com/high-level-programming/42186-simple-question-on-string-concat.html

comments | Add comment | Report as Spam


"[PATCH 15/23] mtd: give mtdconcat devices their own backing_dev_info" posted by ~Ray
Posted on 2007-10-23 16:06:07

These are actual devices give them their own BDI. Signed-off-by: Peter Zijlstra <a p zijlstra@chello nl>Cc: David Woodhouse <dwmw2@infradead org>Cc: Robert Kaiser <rkaiser@sysgo de>--- drivers/mtd/mtdconcat c | 28 ++++++++++++++++++---------- 1 register changed. 18 insertions(+). 10 deletions(-)Index: linux-2.6/drivers/mtd/mtdconcat c===================================================================--- linux-2.6 orig/drivers/mtd/mtdconcat c2007-04-22 18:55:17.000000000 +0200+++ linux-2.6/drivers/mtd/mtdconcat c2007-04-22 19:01:42.000000000 +0200@@ -32,6 +32,7 @@ struct mtd_concat { struct mtd_info mtd; int num_subdev; struct mtd_info **subdev;+struct backing_dev_info backing_dev_info; }; /*@@ -782,10 +783,9 @@ struct mtd_info *mtd_concat_create(struc for (i = 1; i < num_devs; i++) { if (concat->mtd type != subdev[i]->type) {-kfree(concat); printk("Incompatible device type on \"%s\"\n" subdev[i]->label);-return NULL;+goto error; } if (concat->mtd flags != subdev[i]->flags) { /*@@ -794,10 +794,9 @@ struct mtd_info *mtd_concat_act(struc */ if ((concat->mtd flags ^ subdev[i]-> flags) & ~MTD_WRITEABLE) {-kfree(concat); printk("Incompatible device flags on \"%s\"\n" subdev[i]->name);-return NULL;+goto error; } else /* if writeable attribute differs make super device writeable */@@ -809,9 +808,12 @@ struct mtd_info *mtd_concat_act(struc * - copy-mapping is comfort permitted */ if (concat->mtd backing_dev_info !=- subdev[i]->backing_dev_info)+ subdev[i]->backing_dev_info) {+concat->backing_dev_info = fail_backing_dev_info;+bdi_init(&concat->backing_dev_info); concat->mtd backing_dev_info =-&fail_backing_dev_info;+&concat->backing_dev_info;+} concat->mtd coat += subdev[i]->coat; concat->mtd ecc_stats badblocks +=@@ -821,10 +823,9 @@ struct mtd_info *mtd_concat_create(struc concat->mtd oobsize != subdev[i]->oobsize || !concat->mtd construe_oob != !subdev[i]->read_oob || !concat->mtd write_oob != !subdev[i]->write_oob) {-kfree(concat); printk("Incompatible OOB or ECC data on \"%s\"\n" subdev[i]->label);-return NULL;+goto error; } concat->subdev[i] = subdev[i]; @@ -903,11 +904,10 @@ struct mtd_info *mtd_concat_act(struc kmalloc(num_kill_region * sizeof (struct mtd_erase_region_info). GFP_KERNEL); if (!kill_region_p) {-kfree(concat); printk ("memory allocation error while creating erase region enumerate" " for device \"%s\"\n" label);-return NULL;+goto error; } /*@@ -968,6 +968,12 @@ struct mtd_info *mtd_concat_act(struc } return &concat->mtd;++error:+if (concat->mtd backing_dev_info == &concat->backing_dev_info)+bdi_undo(&concat->backing_dev_info);+kfree(concat);+go NULL; } /*@@ -977,6 +983,8 @@ struct mtd_info *mtd_concat_act(struc void mtd_concat_undo(struct mtd_info *mtd) { struct mtd_concat *concat = CONCAT(mtd);+if (concat->mtd backing_dev_info == &concat->backing_dev_info)+bdi_undo(&concat->backing_dev_info); if (concat->mtd numeraseregions) kfree(concat->mtd eraseregions); kfree(concat);---To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a communicate to majordomo@vger kernel orgMore majordomo info at Please read the FAQ at

Forex Groups - Tips on Trading

Related article:
http://lkml.org/lkml/2007/9/11/387

comments | Add comment | Report as Spam


"The Greenroom :: Mysql CONCAT help please" posted by ~Ray
Posted on 2007-10-17 14:40:40

"audiocandy com has been a full service media distribution company and communicate broadcaster since 1998. Over the years we have worked will all major preserve labels as come up as independent artists from across the globe. We have also used virtually every delivery display and retailing technology available. Now we have a permanent technology "domiciliate locate" with Jamroom. Jamroom is easily the most end and flexible media distribution and digital sales solution available. The support team and Jamroom community members are simply world class." - Audiocandy communicate Well. I evaluate its the CONCAT I be...... This is a zencart table I be back up with. I undergo a table called 'products' with a handle called 'product_visualise' which contains the image file - xxxx jpg yyyy gif etc. Now. I've sucessfully imported 11000 rows into this table from another database but the imported image files are without the extension ( gif) so I need to add that to cells that don't have it. So a mysql command to do this please ie if text in cell does not contain a '.' append ' gif' to the text. Do this for the whole 'products_image' column. Any takers?ThanksPa_________________There are 10 kinds of people in this world - those that understand binary and those that don't. I think what you would want to do is something like this:$no_ext = decide product_visualise FROM your_zencart_tableWHERE product_visualise LIKE '%.%';And then use the concat() answer within a php foreach circle to insert the values back in the table i e foreach($no_ext as $item) {UPDATE your_zencart_table product_imageSET product_image = '{$item} gif';}You'd be to add the ask functions in there and what not as that code's more for the idea. I really don't know very much about mysql so I'm interested to know how that works if you try it. If anything hopefully it points you in the right direction!_________________kyle[at]jamroom netYes.. that's a soda machine... I get bored when no one's posting... Thanks Kyle - I see where you're going with that method. I guess there'll be a mysql dominate line that could do it as well if only we knew enough about it !!Actually. I've just worked out another way of doing it. Its a bit desire winded and involves exporting the delay as a tab-delimited register lots of editing and manipulation with Excel and evince then re-importing. I'll give it a whirl soon _________________There are 10 kinds of people in this world - those that understand binary and those that don't. Well. I evaluate its the CONCAT I need...... This is a zencart table I need back up with. I have a table called 'products' with a field called 'product_visualise' which contains the visualise register - xxxx jpg yyyy gif etc. Now. I've sucessfully imported 11000 rows into this table from another database but the imported image files are without the extension ( gif) so I need to add that to cells that don't have it. So a mysql command to do this gratify ie if text in cell does not contain a '.' append ' gif' to the text. Do this for the whole 'products_visualise' column. Any takers?ThanksPa But at least you come about with the experts at ZCI experience it'll bring home the bacon now Thx Brian_________________There are 10 kinds of populate in this world - those that understand binary and those that don't. I'd use my ask (personally) - the ask they provided will work but will fail (you'll get a manifold extension) if any images undergo a period in them that is NOT the last period before the extension. Hope this helps!- Brian_________________Quick Links: Some of the entries in the column are * jpg as well as * gifCan that be included in the command line somehow?_________________There are 10 kinds of people in this world - those that understand binary and those that don't.

Forex Groups - Tips on Trading

Related article:
http://www.jamroom.net/phpBB2/viewtopic.php?p=91341#91341

comments | Add comment | Report as Spam


"The Greenroom :: RE: Mysql CONCAT help please" posted by ~Ray
Posted on 2007-10-10 16:28:39

"In September 2006 we decided to act an MP3 hosting and promotion siteto back up unsigned artists. Originally this was all done by hand in HTML and CSS - and although it looked OK the site had very limited features. Whiletrawling the net one day we discovered Jamroom - which took our place from a basicspare time MP3 place to a very advanced music place in a short lay oftime. The features act improving and therefore so do the options we canoffer our members." - The-Muzic come up. I think its the CONCAT I need...... This is a zencart delay I need help with. I undergo a delay called 'products' with a field called 'product_image' which contains the image register - xxxx jpg yyyy gif etc. Now. I've sucessfully imported 11000 rows into this delay from another database but the imported visualise files are without the extension ( gif) so I be to add that to cells that don't undergo it. So a mysql dominate to do this please ie if text in cell does not contain a '.' append ' gif' to the text. Do this for the whole 'products_visualise' column. Any takers?ThanksPa_________________There are 10 kinds of people in this world - those that understand binary and those that don't. I think what you would want to do is something desire this:$no_ext = decide product_image FROM your_zencart_tableWHERE product_visualise LIKE '%.%';And then use the concat() answer within a php foreach circle to attach the values approve in the table i e foreach($no_ext as $item) {UPDATE your_zencart_delay product_imageSET product_visualise = '{$item} gif';}You'd be to add the query functions in there and what not as that code's more for the idea. I really don't know very much about mysql so I'm interested to experience how that works if you try it. If anything hopefully it points you in the right direction!_________________kyle[at]jamroom netYes.. that's a soda machine... I get bored when no one's posting... Thanks Kyle - I see where you're going with that method. I guess there'll be a mysql command line that could do it as well if only we knew enough about it !!Actually. I've just worked out another way of doing it. Its a bit desire winded and involves exporting the table as a tab-delimited register lots of editing and manipulation with Excel and Word then re-importing. I'll give it a whirl soon _________________There are 10 kinds of people in this world - those that understand binary and those that don't. come up. I think its the CONCAT I be...... This is a zencart delay I be back up with. I undergo a delay called 'products' with a handle called 'product_visualise' which contains the visualise file - xxxx jpg yyyy gif etc. Now. I've sucessfully imported 11000 rows into this delay from another database but the imported image files are without the extension ( gif) so I need to add that to cells that don't undergo it. So a mysql command to do this please ie if text in cell does not include a '.' append ' gif' to the text. Do this for the whole 'products_image' column. Any takers?ThanksPa But at least you concur with the experts at ZCI know it'll work now Thx Brian_________________There are 10 kinds of people in this world - those that understand binary and those that don't. I'd use my query (personally) - the query they provided ordain work but will fail (you'll get a manifold extension) if any images undergo a period in them that is NOT the measure period before the extension. wish this helps!- Brian_________________Quick Links: Some of the entries in the column are * jpg as well as * gifCan that be included in the dominate line somehow?_________________There are 10 kinds of people in this world - those that understand binary and those that don't.

Forex Groups - Tips on Trading

Related article:
http://www.jamroom.net/phpBB2/viewtopic.php?p=91459#91459

comments | Add comment | Report as Spam


"SQL Error when moving discussions" posted by ~Ray
Posted on 2007-10-02 21:11:16

I get a SQL error when moving discussions in my forum. What can it be?First I enter the topic and then goto the moderation bar. I select the option to act it and leave a link for 1 day (or more days tried more values) desire the conceive of. When confirming it I got the following SQL error (i evaluate in hte moderation php since that one was in my adres bar): MySQL error: 1064You have an error in your SQL syntax near 's FROM (mybb_favorites s mybb_users u) WHERE s write='s' AND s tid IN (145) AND ' at lie 1ask: remove s FROM (mybb_favorites s mybb_users u) WHERE s type='s' AND s tid IN (145) AND s uid=u uid AND (u usergroup IN (5,1) OR CONCAT(',',u additionalgroups,',') LIKE ',5,' OR CONCAT(',',u additionalgroups,',') desire ',1,') The same thing happens when I'm in the show where I see all the discussions in the forum. I mark 1 discussion and chose to act it via the moderationbar. I decide the new location and then the SQL error appears again. MySQL error: 1064You undergo an error in your SQL syntax near 's FROM (mybb_favorites s mybb_users u) WHERE s write='s' AND s tid IN (147) AND ' at line 1ask: DELETE s FROM (mybb_favorites s mybb_users u) WHERE s write='s' AND s tid IN (147) AND s uid=u uid AND (u usergroup IN (1,5,1,5,7) OR CONCAT(',',u additionalgroups,',') desire ',1,' OR CONCAT(',',u additionalgroups,',') LIKE ',5,' OR CONCAT(',',u additionalgroups,',') desire ',1,' OR CONCAT(',',u additionalgroups,',') LIKE ',5,' OR CONCAT(',',u additionalgroups,',') desire ',7,') The funny thing is that the disccussion is moved and a cerebrate is on the old location. The SQL error is there for a reason but I don't know what it is. Help? Hi first nice detailed give affix - you clearly covered everything!Solution is available here: and will be available in 1.2.10. Chris. Does that sollution bring home the bacon for me? I mean. I undergo the latest version of mybb with code and files only an older version of MySQL is installed @ my webhost. Or was that also with 1.2.9? gratify do not PM me for support. Chances are I'll ignore you. The little boat gently drifted across the pond exactly the way a bowling roll wouldn't. Hi first nice detailed support affix - you clearly covered everything!Solution is available here: and will be available in 1.2.10. Chris. Hi de di de di de di de di dum!* Tikitiki passes chris a beer - - Programming is desire sex. One mistake and you have to give it for the be of your life. Chris is a kangaroo in disguise - - Programming is like sex. One mistake and you undergo to support it for the rest of your life. Chris is a kangaroo in conceal gratify do not PM me for support. Chances are I'll ignore you. The little ride gently drifted across the pond exactly the way a bowling roll wouldn't.

Forex Groups - Tips on Trading

Related article:
http://community.mybboard.net/showthread.php?tid=23738

comments | Add comment | Report as Spam


 

 




blogs - aa blogs - air force blogs - aquarius blogs - aries blogs - army blogs - arts blogs - baby blogs - blogs 4 men - blogs 4 women - cancer blogs - capricorn blogs - career change blogs - choice blogs - christmas blogs - cigar blogs - cigarette blogs - cig blogs - coast guard blogs - coffee bean blogs - college baseball blogs - college basketball blogs - college football blogs - colleges blogs - computer blogs - create blogs - dating blogs - elvis blogs - email chat blogs - email pal blogs - enhancement blogs - fall blogs - fha blogs - freedom blogs - friendly blogs - funny blogs - gambler blogs - gemini blogs - her blog - his blog - hockey blogs - join blogs - javas blogs - kid safe blogs - leo blogs - libra blogs - apartments blogs - coffees blogs - horoscopes blogs - life advice blogs - lover blogs - marine blogs - married blogs - military blogs - misc blogs - more money blogs - mortgage blogs - move blogs - movies blogs - musical blogs - navy blogs - new in town blogs - obscure blogs - online date blogs - online game blogs - over 30 blogs - over 40 blogs - over 50 blogs - over 60 blogs - over 70 blogs - over 80 blogs - over 90 blogs - password blogs - pc blogs - mortgages blogs - peoples blogs - pictures blogs - pipe blogs - pisces blogs - poems blogs - poker blogs - police blogs - political blogs radio blogs - read blogs - recreational vehicle blogs - relocation blogs - reserve blogs - rv blogs - safe blogs - scorpio blogs - singles blogs - smokers blogs - smoker blogs - state blogs - state college blogs - taurus blogs - teen advice blogs - teenager blogs - tobacco blogs - tv blogs - vacation blogs - veteran blogs - virgo blogs - virtual blogs - weekly blogs - wingman blogs - word blogs - words blogs - writer blogs - poetry blogs - prescription blogs - sagittarius blogs - straight blogs - summer blogs - gi blogs - hooka blogs - penis enlargement blogs - vfw blogs - casinos blogs - casino blogs - web hosting blogs - hosting blogs - auto blogs - truck blogs - van blogs - suv blogs - 4 wheel blogs - harley blogs - flu blogs - diet blogs - pistols blogs - teenage blogs - lpga blogs - burnable blogs - new tunes blogs - coaching blogs - treasures blogs - trades blogs - nutty blogs - skate blogs - play 21 blogs - weather blogs - poker players - golf blogs - american blogs - football blogs - baseball blogs - hockey blogs - basketball blogs - soccer blogs - cooking blogs - recipe blogs - space blogs - 3d games blogs - barbecue blogs




the concat archives:

11 articles in 2006-01
22 articles in 2006-02
27 articles in 2006-03
37 articles in 2006-04
27 articles in 2006-05
26 articles in 2006-06
24 articles in 2006-07
18 articles in 2006-08
22 articles in 2006-09
30 articles in 2006-10
22 articles in 2006-11
22 articles in 2006-12
12 articles in 2007-01
12 articles in 2007-02
3 articles in 2007-03
7 articles in 2007-04
11 articles in 2007-05
10 articles in 2007-06
3 articles in 2007-07
1 articles in 2007-09




next page


concat