GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

Concatenate

   Click here to post similar project

Concatenate is project number 223260 posted at GetAFreelancer.com. Click here to post your own project.

Status: Closed (Selected Service Provider)
Selected Providers: selected service provider NickolaS
Budget: $30-250
Created: 02/08/2008 at 0:07 EST
Bidding Ends: 02/11/2008 at 0:07 EST
Project Creator: bclerk View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(9 reviews)
Description: System: php 5.2.x and Smarty
Task: concatenate two string variables and build a new variable name.

Example:

The Smarty tpl knows about $text_variable containing "prefix" and $current.fieldID containing "700".
{$text_variable} == "prefix"
{$current.fieldID} == "700"

The Smarty tpl does not know about $prefix700 containing "NOT EMPTY".

The template must test for existing data in $prefix700 but must concatenate two strings to execute the test.

Smarty must build (or call an included php file to build) variable name $prefix700 and test it for data.

i.e.
Concatenate the contents of $text_variable and $current.fieldID into $prefix700
The tpl will then execute the following:
{if $prefix700 ne ""} {$prefix700} {else} EMPTY {/if}

I need Smarty/php code that builds $prefix700 so that the test may be executed from the tpl.
Report violation
Job Type:
  • PHP
Database: (None)
Operating system: Linux
Bid count: 4
Average bid: $ 30

 

Related project
 
Mobile web developer Featured
posted by peterman43
Budget: N/A
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 0

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
NickolaS
View PM Post PM
$ 30 0 days 02-08-2008 02:09 EST 9.99/109.99/109.99/109.99/109.99/109.99/109.99/109.99/109.99/109.99/10
(349 reviews)
Hi, please, check your PM
php4world
View PM Post PM
$ 30 0 days 02-08-2008 00:16 EST 9.96/109.96/109.96/109.96/109.96/109.96/109.96/109.96/109.96/109.96/10
(84 reviews)
Hello! I can do it! Please check your PMB.
wincent
View PM Post PM
$ 30 0 days 02-08-2008 00:15 EST 9.84/109.84/109.84/109.84/109.84/109.84/109.84/109.84/109.84/109.84/10
(70 reviews)
easy job. ready to start.
j21
View PM Post PM
$ 30 0 days 02-08-2008 03:04 EST (No Feedback Yet)
Hello! I ready to start.
Bid on This Project

 

[ Post Project Free ] [ Website Design ] [ View All Projects ] [ GAF Top Users ]

What is GetAFreelancer.com? ( Read about the company )

Deposit money and don't purchase until your project is completed. A freelancer is an independent worker, not on salary, hired instead on a project basis. Would you like to outsource your next project? Would you like to make money as a freelancer? Click Sign Up to start! Find freelance programmers, web designers, copywriters and translators. Buy services with help from our secure escrow system.

Our mission is to find the best possible freelance workers at the best possible price. Our escrow feature is developed to protect both buyers and sellers. GetAFreelancer.com helps webmasters, web designers, programmers, software developers and business owners to develop their projects. Companies of any size have used our web services. We have thousands of satisfied clients around the world.

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.