|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-10-18 19:49 UTC] tony2001@php.net
[2006-10-18 20:14 UTC] mail_konstantin at bk dot ru
[2006-10-18 20:19 UTC] tony2001@php.net
[2006-10-26 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 13 05:00:02 2025 UTC |
Description: ------------ Segmentation fault. Reproduce code: --------------- <? $conn = mysql_connect("localhost", "root", "password"); if ($conn) { print "It worked..."; } else { print "There was a problem"; } mysql_select_db("teach_db",$conn); $sql = "SELECT * FROM group_tbl"; $result = mysql_query($sql); print "$result\n"; $fild = mysql_fetch_field($result); print "$fild->name\n"; ?> Expected result: ---------------- I want see name of column Actual result: -------------- Segmentation fault.