Ask how to make this variable display 2 correctly

Source: Internet
Author: User
How do I make this variable display 2 correctly

$row [1]= ' 222 ' from work;
$t = 1;
$w = ' $row [starting work '. $t. '] ';
echo "$w
";

?>

------Solution--------------------
$w = $row [working. $t];

----------------------------------------
Pointing to the Maze network http://www.zhidianmijin.com

Free online fortune-telling project:

Pointing to the maze of fortune-telling system can now be carried out: Name Test, surname origin, Zhou Gong meaning, number inauspiciousness analysis, the daily journey, today's fate, today's journey, this week's journey, this month's journey, this year's journey, psychological testing, marriage trial, Zodiac pairing, career test, love Test, Fortune test, Kwan-Yin Spirit Sign Luzuling, Zhuge oracleof (Zhuge sign, Zhugering sign), Guan Ling sign, tarot divination, almanac query, EQ Test, personality, emotional testing, interpersonal relationships, characteristics, spiritual growth, personality, character cracking, advantages and disadvantages, mind, leisure, master nudge, parenting, child, small advice, online lottery, birthday password, Body health care, blood type zodiac, blood type characteristics, constellation Travel, constellation celebrities, constellation analysis, male and female, fingerprint measurement, eight-character analysis, bone theory life, sire people, astrology, the eight-row plate, eye jump prediction, tinnitus prediction, surface heat prediction, sneeze prediction, prediction of life and so on with your destiny.
------Solution--------------------
As an example, you can change it.
$raw [' ABC1 '] = 222;
echo $raw [' ABC1 '];
$t = 1;
$x = "abc$t";
echo $x;
$w = $raw [$x];
echo $w;
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.