if ($ip == "127.0.0.1") //correct 2012/6/15 Neeraj jain <neerajjain80@xxxxxxxxx> > Correction: > if ($ip = "127.0.0.1") //wrong > > if ($ip *==* "127.0.0.1") //correct > > On Mon, Jun 11, 2012 at 4:14 PM, Gunawan <undoprojects@xxxxxxxxx> wrote: > > > ** > > > > > > Hi, > > I wanna ask regarding this code below, is there any mistaken to show the > > option value using this code, need your help > > > > <? > > $ip=$_SERVER['REMOTE_ADDR']; > > if ($ip = "127.0.0.1") > > { > > echo "<select name="uroom"> > > <option value="101">101</option> > > <option value="102">102</option> > > <option value="103">103</option> > > <option value="105">105</option> > > <option value="106">106</option> > > <option value="107">107</option> > > <option value="108">108</option> > > <option value="109">109</option> > > <option value="110">110</option> > > <option value="111">111</option> > > <option value="112">112</option> > > <option value="115">115</option> > > <option value="116">116</option> > > <option value="117">117</option> > > <option value="118">118</option> > > <option value="119">119</option> > > <option value="120">120</option> > > <option value="121">121</option> > > <option value="122">122</option> > > <option value="123">123</option> > > <option value="125">125</option> > > <option value="126">126</option> > > <option value="127">127</option> > > <option value="128">128</option> > > <option value="129">129</option> > > <option value="130">130</option> > > <option value="131">131</option> > > <option value="132">132</option> > > <option value="133">133</option> > > <option value="135">135</option> > > <option value="136">136</option> > > <option value="137">137</option> > > <option value="138">138</option> > > <option value="139">139</option> > > <option value="140">140</option> > > <option value="141">141</option> > > <option value="142">142</option> > > <option value="143">143</option> > > <option value="145">145</option> > > <option value="146">146</option> > > <option value="147">147</option> > > <option value="148">148</option> > > <option value="149">149</option> > > <option value="150">150</option> > > <option value="151">151</option> > > <option value="152">152</option> > > <option value="153">153</option> > > <option value="155">155</option> > > <option value="156">156</option> > > <option value="201">201</option> > > <option value="202">202</option> > > <option value="203">203</option> > > <option value="205">205</option> > > <option value="206">206</option> > > <option value="207">207</option> > > <option value="208">208</option> > > <option value="209">209</option> > > <option value="210">210</option> > > <option value="211">211</option> > > <option value="212">212</option> > > <option value="215">215</option> > > <option value="216">216</option> > > <option value="217">217</option> > > <option value="218">218</option> > > <option value="219">219</option> > > <option value="220">220</option> > > <option value="221">221</option> > > <option value="222">222</option> > > <option value="223">223</option> > > <option value="225">225</option> > > <option value="226">226</option> > > <option value="227">227</option> > > <option value="228">228</option> > > <option value="229">229</option> > > <option value="230">230</option> > > <option value="231">231</option> > > <option value="232">232</option> > > <option value="233">233</option> > > <option value="235">235</option> > > <option value="236">236</option> > > <option value="237">237</option> > > <option value="238">238</option> > > <option value="239">239</option> > > <option value="240">240</option> > > <option value="241">241</option> > > <option value="242">242</option> > > <option value="243">243</option> > > <option value="245">245</option> > > <option value="246">246</option> > > <option value="247">247</option> > > <option value="248">248</option> > > <option value="249">249</option> > > <option value="250">250</option> > > <option value="251">251</option> > > <option value="252">252</option> > > <option value="253">253</option> > > <option value="255">255</option> > > <option value="256">256</option> > > <option value="301">301</option> > > <option value="302">302</option> > > <option value="303">303</option> > > <option value="305">305</option> > > <option value="306">306</option> > > <option value="307">307</option> > > <option value="308">308</option> > > <option value="309">309</option> > > <option value="310">310</option> > > <option value="311">311</option> > > <option value="312">312</option> > > <option value="315">315</option> > > <option value="316">316</option> > > <option value="317">317</option> > > <option value="318">318</option> > > <option value="319">319</option> > > <option value="320">320</option> > > <option value="321">321</option> > > <option value="322">322</option> > > <option value="323">323</option> > > <option value="325">325</option> > > <option value="326">326</option> > > <option value="327">327</option> > > <option value="328">328</option> > > <option value="329">329</option> > > <option value="330">330</option> > > <option value="331">331</option> > > <option value="332">332</option> > > <option value="333">333</option> > > <option value="335">335</option> > > <option value="336">336</option> > > <option value="337">337</option> > > <option value="338">338</option> > > <option value="339">339</option> > > <option value="340">340</option> > > <option value="341">341</option> > > <option value="342">342</option> > > <option value="343">343</option> > > <option value="345">345</option> > > <option value="346">346</option> > > <option value="347">347</option> > > <option value="348">348</option> > > <option value="349">349</option> > > <option value="350">350</option> > > <option value="351">351</option> > > <option value="352">352</option> > > <option value="353">353</option> > > <option value="355">355</option> > > <option value="356">356</option> > > </select>";} ?> > > > > Regards, > > Gunawan > > > > [Non-text portions of this message have been removed] > > > > > > > > > [Non-text portions of this message have been removed] > > > > ------------------------------------ > > Are you looking for a PHP job? > Join the PHP Professionals directory Now! > http://www.phpclasses.org/jobs/ > Yahoo! Groups Links > > > > -- www.webbsb.com.br Metal Sempre! [Non-text portions of this message have been removed]