[SOLVED] php after mysql_fetch_array i can't list array elements
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Notice: Undefined index: cvdescr in /var/www/WORK/cv/test.php on line 5 Notice: Undefined index: cvdate in /var/www/WORK/cv/test.php on line 6 Notice: Undefined index: cvtitle in /var/www/WORK/cv/test.php on line 7 Notice: Undefined index: institution_name in /var/www/WORK/cv/test.php on line 8
array(2) { [0]=> array(12) { [0]=> string(5) "test1" ["cvtitle"]=> string(5) "test1" [1]=> string(10) "2012-01-26" ["cvdate"]=> string(10) "2012-01-26" [2]=> string(101) "CV big, very big description. What I want, What is my experience, kinda like asmall motivation letter" ["cvdescr"]=> string(101) "CV big, very big description. What I want, What is my experience, kinda like asmall motivation letter" [3]=> string(39) "University1" ["institution_name"]=> string(39) "Vasile Goldis University, Arad, Romania" [4]=> string(10) "octomber 1" ["from_to"]=> string(10) "octomber 1" [5]=> string(136) "accounting, informatics, stock exchange, law, all kind of shitty stuff, that meant to build a better man out of me. Well was not working" ["description"]=> string(136) "accounting, informatics, stock exchange, law, all kind of shitty stuff, that meant to build a better man out of me. Well was not working" } [1]=> array(12) { [0]=> string(5) "test1" ["cvtitle"]=> string(5) "test1" [1]=> string(10) "2012-01-26" ["cvdate"]=> string(10) "2012-01-26" [2]=> string(101) "CV big, very big description. What I want, What is my experience, kinda like asmall motivation letter" ["cvdescr"]=> string(101) "CV big, very big description. What I want, What is my experience, kinda like asmall motivation letter" [3]=> string(23) "University2" ["institution_name"]=> string(23) "Aurel Vlaicu University" [4]=> string(10) "october 20" ["from_to"]=> string(10) "october 20" [5]=> string(648) "Informatics, maintaining company's network hardware (switches/firewalls and servers installation/configuration/maintaining of Linux systems (servers and workstations) Backup responsible for the entire network MySQL database administration, running on Linux and Windows maintaining Solaris with Oracle servers firewall, VPN, and other network related tasks mail servers, DNS, DHCP, apache, proxy maintenance and administration maintenance and administration of Windows 2008 server Active Directory and DHCP security of the network (regular penetration testing) PHP small projects for the department BASH Scripting maintain VMWare Server 2" ["description"]=> string(648) "Informatics, maintaining company's network hardware (switches/firewalls and servers installation/configuration/maintaining of Linux systems (servers and workstations) Backup responsible for the entire network MySQL database administration, running on Linux and Windows maintaining Solaris with Oracle servers firewall, VPN, and other network related tasks mail servers, DNS, DHCP, apache, proxy maintenance and administration maintenance and administration of Windows 2008 server Active Directory and DHCP security of the network (regular penetration testing) PHP small projects for the department BASH Scripting maintain VMWare Server 2" } }
Array<>
can anyone tell me why i can't get individual array elements neither by name or id?
Thanks in advanced
Last edited by sqn; 01-26-2012 at 07:03 AM.
Reason: it got solved
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.