note 46358 added to language.operators.assignment

From: Date: Fri, 08 Oct 2004 03:39:51 +0000
Subject: note 46358 added to language.operators.assignment
Groups: php.notes 
Request: Send a blank email to php-notes+get-78160@lists.php.net to get a copy of this message
Just a little function for adding chars/numbers to the beginning of a string (unlike .= that adds it to the end). <?php function strToBeginning ($word,$var) { $str = $word.$var; return $str; } $v = "on you"; echo strToBeginning("hey ",$v); ?> Nothing fancy or anything.. ---- Manual Page -- http://www.php.net/manual/en/language.operators.assignment.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46358 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46358&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46358&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78160) next »