When tinkphp framework is used to set the template. An error occurred while adding the page. Please help me to see where it is

Source: Internet
Author: User
When tinkphp framework is used to set the template. An error occurred on the add page. Please help me see where the error is. Thank you !! ------ Solution ---------------------- can I post code? The page looks a little hard .. Delete the runtime folder and reload it. ------ solution ---------------------- error message: undefined variable _ v

When tinkphp framework is used to set the template. An error occurred on the add page. Please help me see where the error is. Thank you !! ------ Solution ---------------------- can I post code? The page looks a little hard .. Delete the runtime folder and reload it. ------ solution ---------------------- error message: undefined variable _ v

When tinkphp framework is used to set the template. An error occurred on the add page. Please help me see where the error is. Thank you !!


------ Solution ----------------------
Can I post code? The page looks a little hard ..
Delete the runtime folder and reload it.
------ Solution ----------------------
Error message: undefined variable _ v
It should be caused by the $ s_category_info variable being false or null. Print it on the Controller to see if there is any data retrieved from the data table.
------ Solution ----------------------
Is it because your writing is not standard?
 
  
{$ K}
------ Solution ----------------------
{$ Vo}
Yours is
{foreach from=$s_brand_info key=_k item=_v}
{$_v.brand_name}
{/foreach}

------ Solution ----------------------
Is it because your writing is not standard?
 
  
{$ K}
------ Solution ----------------------
{$ Vo}
Yours is
{foreach from=$s_brand_info key=_k item=_v}
{$_v.brand_name}
{/foreach}

------ Solution ----------------------

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.