Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
mac os update 10.3.7 and PHP MYSQL
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="broberts" data-source="post: 75419"><p><strong>PHP Messed Up -- Anyone else see this?</strong></p><p></p><p>It seems the Jan 25 security patch messed up PHP for me. Still connects to mySQL fine, but there appears to be a bug in handling arrays.</p><p><?php</p><p>print_r($my_array);</p><p>// I see</p><p>// Array </p><p>// ( [0] => 5</p><p>// [1] => 9</p><p>// [2] => 10</p><p>// [3] => 11 )</p><p>foreach ($my_array as $test)</p><p> echo "$test";</p><p>// I see</p><p>// Array</p><p>// Array</p><p>// Array</p><p>// Array</p><p>?></p><p></p><p>This code worked fine before the security patch I applied yesterday. :-( :-(</p></blockquote><p></p>
[QUOTE="broberts, post: 75419"] [b]PHP Messed Up -- Anyone else see this?[/b] It seems the Jan 25 security patch messed up PHP for me. Still connects to mySQL fine, but there appears to be a bug in handling arrays. <?php print_r($my_array); // I see // Array // ( [0] => 5 // [1] => 9 // [2] => 10 // [3] => 11 ) foreach ($my_array as $test) echo "$test"; // I see // Array // Array // Array // Array ?> This code worked fine before the security patch I applied yesterday. :-( :-( [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
mac os update 10.3.7 and PHP MYSQL
Top