-3
我使用一個包含表中的某些HTML的sprintf:sprintf的投用%警告字符串
<table width="100%"....
看來%符號導致警告。我如何正確地逃避那個角色?
做
<table width="100%%"....
去除結尾「以及%符號給我
<table width="100 border="0"...
我使用一個包含表中的某些HTML的sprintf:sprintf的投用%警告字符串
<table width="100%"....
看來%符號導致警告。我如何正確地逃避那個角色?
做
<table width="100%%"....
去除結尾「以及%符號給我
<table width="100 border="0"...
你需要與其他%
逃吧:
<table width="100%%"....
如果我這樣做,我最終得到:
OK,這是PEBKAC。我在sprintf'in兩次。 –