wix100 Posted August 2, 2020 Share Posted August 2, 2020 (edited) Hello all, and apologies for taking your time up, but I am completely stuck!! Have been trying to create a PHP search code (6 weeks now) to return results from a mysql database (I am completely new to this, but okay with HTML). Most of the many attempts I have tried over the weeks have been learned/copied from the web, which resulted initially in connection errors (I hadn't set privileges up), and now I am in a place that that the Favicon spins and returns to original state - but does return: else{ $output="No results"; I am aware that the code may not be perfect, so I have tried downloading sample 'database and php files', and using them but they also dont work (but they do for others trying the sample). I have tried Stack Overflow forums, but they all seem very rude and patronising sadly, and still I havent managed to resolve it...so here I am! Here is a link to the page mentioned (search bar top right in question): https://flighteducation.co.uk/Careers Connect.php And the php code: <?php session_start(); $output=NULL; if(isset($_POST['submit'])){ //Connect to the database $mysqli = new mysqli("localhost", "jj3wg2td_steven", "MYPASSWORD", "jj3wg2td_careerslist"); $search = $mysqli->real_escape_string($_POST['search']); //Query the database $result = $mysqli->query("SELECT * FROM careers WHERE Job Title LIKE '%$search%'"); if($result->num_rows > 0) { while($rows=$result->fetch_assoc()) { $jobTitle=$rows['Job Title']; $jobDesription=$rows['Job Description']; $salaryLow=$rows['Salary Low']; $salaryHigh=$rows['Salary High']; $output .="Job Title:$jobTitle<br /> Job Description:$jobDesription<br /> Salary Low:$salaryLow<br /> Salary High:$salaryHigh<br /> <br />"; } } else{ $output="No results"; } } ?> I have an output php further down the page, after my search setup OUTPUT: <!--PHP OUTPUT--> <?php echo $output; ?> Search Button Code: <!--SEARCH BOX--> <div class="search-box"> <form method="POST" id="search"> <input class="search-txt" type="TEXT" name="search" placeholder="SEARCH CAREERS"> <button class="search-btn" name="submit" type="submit"> <i class="fa fa-search" aria-hidden="true"></i> </button> </form> </div> I cannot thank you enough for any support you can add as this is literally driving me mad, and wasting endless days (trying) Kindest regards Steven Here's the whole PHP code, just in case I have something in there that clashes with it and a screen shot of the phpMYAdmin header database : <?php session_start(); $output=NULL; if(isset($_POST['submit'])){ //Connect to the database $mysqli = new mysqli("localhost", "jj3wg2td_steven", "MYPASSWORD", "jj3wg2td_careerslist"); $search = $mysqli->real_escape_string($_POST['search']); //Query the database $result = $mysqli->query("SELECT * FROM 'careers' WHERE Job Title LIKE '%$search%'"); if($result->num_rows > 0) { while($rows=$result->fetch_assoc()) { $jobTitle=$rows['Job Title']; $jobDesription=$rows['Job Description']; $salaryLow=$rows['Salary Low']; $salaryHigh=$rows['Salary High']; $output .="Job Title:$jobTitle<br /> Job Description:$jobDesription<br /> Salary Low:$salaryLow<br /> Salary High:$salaryHigh<br /> <br />"; } } else{ $output="No results"; } } ?> <!doctype html> <html> <head> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-170467250-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-170467250-1'); </script> <!--FAVICON--> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> <!--FAVICON--> <meta name="msapplication-TileColor" content="#da532c"> <meta name="theme-color" content="#ffffff"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> <meta name="theme-color" content="#ffffff"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <meta charset="utf-8"> <title>- CAREERS -</title> <link href="Responsive.css" rel="stylesheet" type="text/css"> <style type="text/css"> a:link { color: rgba(255,255,255,1); } a:visited { color: rgba(255,255,255,1); } a:hover { color: rgba(243,219,7,1); } a:active { color: rgba(255,255,255,1); } /* scrollbar*/ body::-webkit-scrollbar { width: 6px; } body::-webkit-scrollbar-track { background: Black; } body::-webkit-scrollbar-thumb { background-color: rgba(243,219,7,1); border-radius: 20px; } /* scrollbar*/ </style> <script type="text/javascript"> function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } </script> </head> <body onLoad="MM_preloadImages('Top-LogoR.png')"> <!--TOP LOGO --> <div class="home-logo"> <a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image31','','Top-LogoR.png',1)"><img id="Image31" src="Top-Logo.png" alt="HOME"></a> </div> <div class="wrapper"> <!--Navigation --> <nav class="topnavbar-container"> <ul> <li><a href="#">COLLEGE /</a> <ul> <li><a href="#">SEARCH FOR A COLLEGE</a></li> <li><a href="#">GO TO COLLEGE</a></li> </ul> </li> <li><a href="#">UNIVERSITY /</a> <ul> <li><a href="#">SEARCH FOR A UNI</a></li> <li><a href="#">GO TO UNI</a></li> <li><a href="League Table.html">LEAGUE TABLES</a></li> <li><a href="Uni Life.html">LIFE IN UNI</a></li> </ul> </li> <li><a href="#">CAREERS</a> <ul> <li><a href="Careers Results.html">SEARCH CAREERS</a></li> <li><a href="index.html#CAREERS">BROWSE CAREERS</a></li> <li><a href="Set your Target.html">PLAN YOUR PATHWAY</a></li> <li><a href="Trending 2020.html">TRENDING IN 2020</a></li> </ul> </li> </ul> </nav> <!--SEARCH BOX--> <div class="search-box"> <form method="POST" id="search"> <input class="search-txt" type="TEXT" name="search" placeholder="SEARCH CAREERS"> <button class="search-btn" name="submit" type="submit"> <i class="fa fa-search" aria-hidden="true"></i> </button> </form> </div> <!--Top Container --> <section class="careers-results"> <header class="showcase-career"> <label for="Careers">Choose a Career:</label> <img src="img/Careers-Logo.png" alt="LOGO"> <br> <select class="careers-dropdown" name="Careers" id="Careers"> <option value=" 3D printing technician "> 3D printing technician </option> <option value=" Accommodation warden "> Accommodation warden </option> <option value=" Accounting technician "> Accounting technician </option> <option value=" Acoustics consultant "> Acoustics consultant </option> <option value=" Actor "> Actor </option> <option value=" Actuary "> Actuary </option> <option value=" Acupuncturist "> Acupuncturist </option> <option value=" Admin assistant "> Admin assistant </option> <option value=" Advertising account executive "> Advertising account executive </option> <option value=" Advertising account planner "> Advertising account planner </option> <option value=" Advertising art director "> Advertising art director </option> <option value=" Advertising copywriter "> Advertising copywriter </option> <option value=" Advertising media buyer "> Advertising media buyer </option> <option value=" Advertising media planner "> Advertising media planner </option> <option value=" Aerospace engineer "> Aerospace engineer </option> <option value=" Aerospace engineering technician "> Aerospace engineering technician </option> <option value=" Agricultural contractor "> Agricultural contractor </option> <option value=" Agricultural engineer "> Agricultural engineer </option> <option value=" Agricultural engineering technician "> Agricultural engineering technician </option> <option value=" Agricultural inspector "> Agricultural inspector </option> <option value=" Agronomist "> Agronomist </option> <option value=" Aid worker "> Aid worker </option> <option value=" Air accident investigator "> Air accident investigator </option> <option value=" Air traffic controller "> Air traffic controller </option> <option value=" Airline customer service agent "> Airline customer service agent </option> <option value=" Airline pilot "> Airline pilot </option> <option value=" Airport baggage handler "> Airport baggage handler </option> <option value=" Airport information assistant "> Airport information assistant </option> <option value=" Alexander Technique teacher "> Alexander Technique teacher </option> <option value=" Ambulance care assistant "> Ambulance care assistant </option> <option value=" Anaesthetist "> Anaesthetist </option> <option value=" Analytical textile technologist "> Analytical textile technologist </option> <option value=" Anatomical pathology technician "> Anatomical pathology technician </option> <option value=" Animal care worker "> Animal care worker </option> <option value=" Animal technician "> Animal technician </option> <option value=" Animator "> Animator </option> <option value=" Antique dealer "> Antique dealer </option> <option value=" App developer "> App developer </option> <option value=" Arboricultural officer "> Arboricultural officer </option> <option value=" Archaeologist "> Archaeologist </option> <option value=" Architect "> Architect </option> <option value=" Architectural technician "> Architectural technician </option> <option value=" Architectural technologist "> Architectural technologist </option> <option value=" Archivist "> Archivist </option> <option value=" Army officer "> Army officer </option> <option value=" Aromatherapist "> Aromatherapist </option> <option value=" Art editor "> Art editor </option> <option value=" Art gallery curator "> Art gallery curator </option> <option value=" Art therapist "> Art therapist </option> <option value=" Art valuer "> Art valuer </option> <option value=" Arts administrator "> Arts administrator </option> <option value=" Assistance dog trainer "> Assistance dog trainer </option> <option value=" Assistant immigration officer "> Assistant immigration officer </option> <option value=" Astronaut "> Astronaut </option> <option value=" Astronomer "> Astronomer </option> <option value=" Athlete "> Athlete </option> <option value=" Audiologist "> Audiologist </option> <option value=" Audio-visual technician "> Audio-visual technician </option> <option value=" Auditor "> Auditor </option> <option value=" Auto electrician "> Auto electrician </option> <option value=" Automotive engineer "> Automotive engineer </option> <option value=" Bailiff "> Bailiff </option> <option value=" Baker "> Baker </option> <option value=" Bank manager "> Bank manager </option> <option value=" Banking customer service adviser "> Banking customer service adviser </option> <option value=" Bar person "> Bar person </option> <option value=" Barber "> Barber </option> <option value=" Barista "> Barista </option> <option value=" Barrister "> Barrister </option> <option value=" Barristers' clerk "> Barristers' clerk </option> <option value=" Beauty consultant "> Beauty consultant </option> <option value=" Beauty therapist "> Beauty therapist </option> <option value=" Beekeeper "> Beekeeper </option> <option value=" Betting shop cashier "> Betting shop cashier </option> <option value=" Bid writer "> Bid writer </option> <option value=" Bilingual secretary "> Bilingual secretary </option> <option value=" Bin worker "> Bin worker </option> <option value=" Bingo caller "> Bingo caller </option> <option value=" Biochemist "> Biochemist </option> <option value=" Biologist "> Biologist </option> <option value=" Biomedical scientist "> Biomedical scientist </option> <option value=" Biotechnologist "> Biotechnologist </option> <option value=" Blacksmith "> Blacksmith </option> <option value=" Boat builder "> Boat builder </option> <option value=" Body piercer "> Body piercer </option> <option value=" Bodyguard "> Bodyguard </option> <option value=" Bomb disposal technician "> Bomb disposal technician </option> <option value=" Bookbinder "> Bookbinder </option> <option value=" Bookkeeper "> Bookkeeper </option> <option value=" Bookmaker "> Bookmaker </option> <option value=" Bookseller "> Bookseller </option> <option value=" Border Force officer "> Border Force officer </option> <option value=" Botanist "> Botanist </option> <option value=" Bottler "> Bottler </option> <option value=" Boxer "> Boxer </option> <option value=" Brewery worker "> Brewery worker </option> <option value=" Bricklayer "> Bricklayer </option> <option value=" British Sign Language interpreter "> British Sign Language interpreter </option> <option value=" British Sign Language teacher "> British Sign Language teacher </option> <option value=" Broadcast Engineer "> Broadcast Engineer </option> <option value=" Broadcast journalist "> Broadcast journalist </option> <option value=" Builders' merchant "> Builders' merchant </option> <option value=" Building control officer "> Building control officer </option> <option value=" Building services engineer "> Building services engineer </option> <option value=" Building site inspector "> Building site inspector </option> <option value=" Building surveyor "> Building surveyor </option> <option value=" Building technician "> Building technician </option> <option value=" Bus or coach driver "> Bus or coach driver </option> <option value=" Business adviser "> Business adviser </option> <option value=" Business analyst "> Business analyst </option> <option value=" Business development manager "> Business development manager </option> <option value=" Business project manager "> Business project manager </option> <option value=" Butcher "> Butcher </option> <option value=" Butler "> Butler </option> <option value=" Cabin crew "> Cabin crew </option> <option value=" CAD technician "> CAD technician </option> <option value=" Cake decorator "> Cake decorator </option> <option value=" Call centre operator "> Call centre operator </option> <option value=" Car manufacturing worker "> Car manufacturing worker </option> <option value=" Car rental agent "> Car rental agent </option> <option value=" Car valet "> Car valet </option> <option value=" Care escort "> Care escort </option> <option value=" Care home advocate "> Care home advocate </option> <option value=" Care home manager "> Care home manager </option> <option value=" Care worker "> Care worker </option> <option value=" Careers adviser "> Careers adviser </option> <option value=" Caretaker "> Caretaker </option> <option value=" Carpenter "> Carpenter </option> <option value=" Carpet fitter and floor layer "> Carpet fitter and floor layer </option> <option value=" Cartographer "> Cartographer </option> <option value=" Catering manager "> Catering manager </option> <option value=" Cavity insulation installer "> Cavity insulation installer </option> <option value=" Ceiling fixer "> Ceiling fixer </option> <option value=" Celebrant "> Celebrant </option> <option value=" Cellar technician "> Cellar technician </option> <option value=" Cemetery worker "> Cemetery worker </option> <option value=" Ceramics designer-maker "> Ceramics designer-maker </option> <option value=" Charity director "> Charity director </option> <option value=" Charity fundraiser "> Charity fundraiser </option> <option value=" Chauffeur "> Chauffeur </option> <option value=" Checkout operator "> Checkout operator </option> <option value=" Chef "> Chef </option> <option value=" Chemical engineer "> Chemical engineer </option> <option value=" Chemical engineering technician "> Chemical engineering technician </option> <option value=" Chemical plant process operator "> Chemical plant process operator </option> <option value=" Chemist "> Chemist </option> <option value=" Chief executive "> Chief executive </option> <option value=" Chief inspector "> Chief inspector </option> <option value=" Child protection officer "> Child protection officer </option> <option value=" Childminder "> Childminder </option> <option value=" Children's nurse "> Children's nurse </option> <option value=" Chimney sweep "> Chimney sweep </option> <option value=" Chiropractor "> Chiropractor </option> <option value=" Choreographer "> Choreographer </option> <option value=" Cinema or theatre attendant "> Cinema or theatre attendant </option> <option value=" Cinema projectionist "> Cinema projectionist </option> <option value=" Circus performer "> Circus performer </option> <option value=" Civil enforcement officer "> Civil enforcement officer </option> <option value=" Civil engineer "> Civil engineer </option> <option value=" Civil engineering technician "> Civil engineering technician </option> <option value=" Civil Service administrative officer "> Civil Service administrative officer </option> <option value=" Civil Service executive officer "> Civil Service executive officer </option> <option value=" Civil Service manager "> Civil Service manager </option> <option value=" Classical musician "> Classical musician </option> <option value=" Cleaner "> Cleaner </option> <option value=" Climate scientist "> Climate scientist </option> <option value=" Clinical engineer "> Clinical engineer </option> <option value=" Clinical psychologist "> Clinical psychologist </option> <option value=" Clinical scientist "> Clinical scientist </option> <option value=" CNC machinist "> CNC machinist </option> <option value=" Coastguard "> Coastguard </option> <option value=" Cognitive behavioural therapist "> Cognitive behavioural therapist </option> <option value=" Colon hydrotherapist "> Colon hydrotherapist </option> <option value=" Colour therapist "> Colour therapist </option> <option value=" Commercial energy assessor "> Commercial energy assessor </option> <option value=" Commissioning editor "> Commissioning editor </option> <option value=" Communication support worker "> Communication support worker </option> <option value=" Community arts worker "> Community arts worker </option> <option value=" Community development worker "> Community development worker </option> <option value=" Community education co-ordinator "> Community education co-ordinator </option> <option value=" Community matron "> Community matron </option> <option value=" Community transport driver "> Community transport driver </option> <option value=" Company secretary "> Company secretary </option> <option value=" Computer games developer "> Computer games developer </option> <option value=" Computer games tester "> Computer games tester </option> <option value=" Conference and exhibition manager "> Conference and exhibition manager </option> <option value=" Conservator "> Conservator </option> <option value=" Construction contracts manager "> Construction contracts manager </option> <option value=" Construction labourer "> Construction labourer </option> <option value=" Construction manager "> Construction manager </option> <option value=" Construction plant hire adviser "> Construction plant hire adviser </option> <option value=" Construction plant mechanic "> Construction plant mechanic </option> <option value=" Construction plant operator "> Construction plant operator </option> <option value=" Construction site supervisor "> Construction site supervisor </option> <option value=" Consumer scientist "> Consumer scientist </option> <option value=" Copy editor "> Copy editor </option> <option value=" Coroner "> Coroner </option> <option value=" Cosmetic surgeon "> Cosmetic surgeon </option> <option value=" Costume designer "> Costume designer </option> <option value=" Counsellor "> Counsellor </option> <option value=" Counter service assistant "> Counter service assistant </option> <option value=" Countryside officer "> Countryside officer </option> <option value=" Countryside ranger "> Countryside ranger </option> <option value=" Courier "> Courier </option> <option value=" Court administrative assistant "> Court administrative assistant </option> <option value=" Court legal adviser "> Court legal adviser </option> <option value=" Court usher "> Court usher </option> <option value=" Crane driver "> Crane driver </option> <option value=" Credit controller "> Credit controller </option> <option value=" Credit manager "> Credit manager </option> <option value=" Crematorium technician "> Crematorium technician </option> <option value=" Cricketer "> Cricketer </option> <option value=" Criminal intelligence analyst "> Criminal intelligence analyst </option> <option value=" Criminologist "> Criminologist </option> <option value=" Critical care technologist "> Critical care technologist </option> <option value=" Croupier "> Croupier </option> <option value=" Crown prosecutor "> Crown prosecutor </option> <option value=" Cruise ship steward "> Cruise ship steward </option> <option value=" Customer service assistant "> Customer service assistant </option> <option value=" Customer services manager "> Customer services manager </option> <option value=" Cyber intelligence officer "> Cyber intelligence officer </option> <option value=" Cycle mechanic "> Cycle mechanic </option> <option value=" Cycling coach "> Cycling coach </option> <option value=" Dance movement psychotherapist "> Dance movement psychotherapist </option> <option value=" Dance teacher "> Dance teacher </option> <option value=" Dancer "> Dancer </option> <option value=" Data analyst-statistician "> Data analyst-statistician </option> <option value=" Data entry clerk "> Data entry clerk </option> <option value=" Database administrator "> Database administrator </option> <option value=" Delivery van driver "> Delivery van driver </option> <option value=" Demolition operative "> Demolition operative </option> <option value=" Dental hygienist "> Dental hygienist </option> <option value=" Dental nurse "> Dental nurse </option> <option value=" Dental technician "> Dental technician </option> <option value=" Dental therapist "> Dental therapist </option> <option value=" Dentist "> Dentist </option> <option value=" Design and development engineer "> Design and development engineer </option> <option value=" Dietitian "> Dietitian </option> <option value=" Digital delivery manager "> Digital delivery manager </option> <option value=" Digital marketer "> Digital marketer </option> <option value=" Digital product owner "> Digital product owner </option> <option value=" Diplomatic Service officer "> Diplomatic Service officer </option> <option value=" Director of photography "> Director of photography </option> <option value=" Dispensing optician "> Dispensing optician </option> <option value=" District nurse "> District nurse </option> <option value=" Diver "> Diver </option> <option value=" DJ "> DJ </option> <option value=" Dog groomer "> Dog groomer </option> <option value=" Dog handler "> Dog handler </option> <option value=" Domestic appliance service engineer "> Domestic appliance service engineer </option> <option value=" Domestic energy assessor "> Domestic energy assessor </option> <option value=" Door supervisor "> Door supervisor </option> <option value=" Dramatherapist "> Dramatherapist </option> <option value=" Dressmaker "> Dressmaker </option> <option value=" Driving instructor "> Driving instructor </option> <option value=" Drone pilot "> Drone pilot </option> <option value=" Drug and alcohol worker "> Drug and alcohol worker </option> <option value=" Dry cleaner "> Dry cleaner </option> <option value=" Dry liner "> Dry liner </option> <option value=" Early years teacher "> Early years teacher </option> <option value=" Ecologist "> Ecologist </option> <option value=" E-commerce manager "> E-commerce manager </option> <option value=" Economic development officer "> Economic development officer </option> <option value=" Economist "> Economist </option> <option value=" Editorial assistant "> Editorial assistant </option> <option value=" Education technician "> Education technician </option> <option value=" Education welfare officer "> Education welfare officer </option> <option value=" E-learning developer "> E-learning developer </option> <option value=" Electrical engineer "> Electrical engineer </option> <option value=" Electrical engineering technician "> Electrical engineering technician </option> <option value=" Electrician "> Electrician </option> <option value=" Electricity distribution worker "> Electricity distribution worker </option> <option value=" Electricity generation worker "> Electricity generation worker </option> <option value=" Electronics engineer "> Electronics engineer </option> <option value=" Electronics engineering technician "> Electronics engineering technician </option> <option value=" Embalmer "> Embalmer </option> <option value=" Emergency care assistant "> Emergency care assistant </option> <option value=" Emergency medical dispatcher "> Emergency medical dispatcher </option> <option value=" Energy engineer "> Energy engineer </option> <option value=" Engineering construction craftworker "> Engineering construction craftworker </option> <option value=" Engineering construction technician "> Engineering construction technician </option> <option value=" Engineering craft machinist "> Engineering craft machinist </option> <option value=" Engineering maintenance technician "> Engineering maintenance technician </option> <option value=" Engineering operative "> Engineering operative </option> <option value=" English as a foreign language (EFL) teacher "> English as a foreign language (EFL) teacher </option> <option value=" Entertainer "> Entertainer </option> <option value=" Entertainment agent "> Entertainment agent </option> <option value=" Environmental consultant "> Environmental consultant </option> <option value=" Environmental health officer "> Environmental health officer </option> <option value=" Equalities officer "> Equalities officer </option> <option value=" Ergonomist "> Ergonomist </option> <option value=" Estate agent "> Estate agent </option> <option value=" Estates officer "> Estates officer </option> <option value=" Estimator "> Estimator </option> <option value=" European Union official "> European Union official </option> <option value=" Events manager "> Events manager </option> <option value=" Exhibition designer "> Exhibition designer </option> <option value=" Facilities manager "> Facilities manager </option> <option value=" Fairground worker "> Fairground worker </option> <option value=" Family mediator "> Family mediator </option> <option value=" Family support worker "> Family support worker </option> <option value=" Farm secretary "> Farm secretary </option> <option value=" Farm worker "> Farm worker </option> <option value=" Farmer "> Farmer </option> <option value=" Farrier "> Farrier </option> <option value=" Fashion design assistant "> Fashion design assistant </option> <option value=" Fashion designer "> Fashion designer </option> <option value=" Fashion model "> Fashion model </option> <option value=" Fence installer "> Fence installer </option> <option value=" Film critic "> Film critic </option> <option value=" Finance officer "> Finance officer </option> <option value=" Financial adviser "> Financial adviser </option> <option value=" Financial services customer adviser "> Financial services customer adviser </option> <option value=" Fine artist "> Fine artist </option> <option value=" Fingerprint officer "> Fingerprint officer </option> <option value=" Firefighter "> Firefighter </option> <option value=" Fish farmer "> Fish farmer </option> <option value=" Fish frier "> Fish frier </option> <option value=" Fishing boat deckhand "> Fishing boat deckhand </option> <option value=" Fishing vessel skipper "> Fishing vessel skipper </option> <option value=" Fishmonger "> Fishmonger </option> <option value=" Fitness instructor "> Fitness instructor </option> <option value=" Florist "> Florist </option> <option value=" Food factory worker "> Food factory worker </option> <option value=" Food manufacturing inspector "> Food manufacturing inspector </option> <option value=" Food packaging operative "> Food packaging operative </option> <option value=" Food scientist "> Food scientist </option> <option value=" Football coach "> Football coach </option> <option value=" Football referee "> Football referee </option> <option value=" Footballer "> Footballer </option> <option value=" Footwear designer "> Footwear designer </option> <option value=" Footwear manufacturing operative "> Footwear manufacturing operative </option> <option value=" Forensic computer analyst "> Forensic computer analyst </option> <option value=" Forensic psychologist "> Forensic psychologist </option> <option value=" Forensic scientist "> Forensic scientist </option> <option value=" Forest officer "> Forest officer </option> <option value=" Forestry worker "> Forestry worker </option> <option value=" Forklift driver "> Forklift driver </option> <option value=" Forklift truck engineer "> Forklift truck engineer </option> <option value=" Foster carer "> Foster carer </option> <option value=" Foundry mould maker "> Foundry mould maker </option> <option value=" Foundry process operator "> Foundry process operator </option> <option value=" Franchise owner "> Franchise owner </option> <option value=" French polisher "> French polisher </option> <option value=" Funeral director "> Funeral director </option> <option value=" Furniture designer "> Furniture designer </option> <option value=" Furniture maker "> Furniture maker </option> <option value=" Furniture restorer "> Furniture restorer </option> <option value=" Further education lecturer "> Further education lecturer </option> <option value=" Gamekeeper "> Gamekeeper </option> <option value=" Garage manager "> Garage manager </option> <option value=" Garden nursery assistant "> Garden nursery assistant </option> <option value=" Gardener "> Gardener </option> <option value=" Garment technologist "> Garment technologist </option> <option value=" Gas mains layer "> Gas mains layer </option> <option value=" Gas service technician "> Gas service technician </option> <option value=" General practice surveyor "> General practice surveyor </option> <option value=" Geneticist "> Geneticist </option> <option value=" Geoscientist "> Geoscientist </option> <option value=" Geospatial technician "> Geospatial technician </option> <option value=" Geotechnician "> Geotechnician </option> <option value=" Glassmaker "> Glassmaker </option> <option value=" Glazier "> Glazier </option> <option value=" GP "> GP </option> <option value=" GP practice manager "> GP practice manager </option> <option value=" Graphic designer "> Graphic designer </option> <option value=" Groundsperson "> Groundsperson </option> <option value=" Hairdresser "> Hairdresser </option> <option value=" Hairdressing salon manager "> Hairdressing salon manager </option> <option value=" Handyperson "> Handyperson </option> <option value=" Head chef "> Head chef </option> <option value=" Head of IT (IT director) "> Head of IT (IT director) </option> <option value=" Headteacher "> Headteacher </option> <option value=" Health and safety adviser "> Health and safety adviser </option> <option value=" Health play specialist "> Health play specialist </option> <option value=" Health promotion specialist "> Health promotion specialist </option> <option value=" Health records clerk "> Health records clerk </option> <option value=" Health service manager "> Health service manager </option> <option value=" Health trainer "> Health trainer </option> <option value=" Health visitor "> Health visitor </option> <option value=" Healthcare assistant "> Healthcare assistant </option> <option value=" Healthcare science assistant "> Healthcare science assistant </option> <option value=" Heating and ventilation engineer "> Heating and ventilation engineer </option> <option value=" Helicopter engineer "> Helicopter engineer </option> <option value=" Helicopter pilot "> Helicopter pilot </option> <option value=" Heritage officer "> Heritage officer </option> <option value=" Higher education lecturer "> Higher education lecturer </option> <option value=" Highways cleaner "> Highways cleaner </option> <option value=" Homeopath "> Homeopath </option> <option value=" Horse groom "> Horse groom </option> <option value=" Horse riding instructor "> Horse riding instructor </option> <option value=" Horticultural manager "> Horticultural manager </option> <option value=" Horticultural therapist "> Horticultural therapist </option> <option value=" Horticultural worker "> Horticultural worker </option> <option value=" Hospital doctor "> Hospital doctor </option> <option value=" Hospital porter "> Hospital porter </option> <option value=" Hotel manager "> Hotel manager </option> <option value=" Hotel porter "> Hotel porter </option> <option value=" Hotel receptionist "> Hotel receptionist </option> <option value=" Hotel room attendant "> Hotel room attendant </option> <option value=" Housekeeper "> Housekeeper </option> <option value=" Housing officer "> Housing officer </option> <option value=" Housing policy officer "> Housing policy officer </option> <option value=" Human resources assistant "> Human resources assistant </option> <option value=" Human resources manager "> Human resources manager </option> <option value=" Human resources officer "> Human resources officer </option> <option value=" Hydrologist "> Hydrologist </option> <option value=" Hypnotherapist "> Hypnotherapist </option> <option value=" Illustrator "> Illustrator </option> <option value=" Image consultant "> Image consultant </option> <option value=" Immigration adviser (non-government) "> Immigration adviser (non-government) </option> <option value=" Immigration officer "> Immigration officer </option> <option value=" Import-export clerk "> Import-export clerk </option> <option value=" Indexer "> Indexer </option> <option value=" Industrial cleaner "> Industrial cleaner </option> <option value=" Information scientist "> Information scientist </option> <option value=" Insurance account manager "> Insurance account manager </option> <option value=" Insurance broker "> Insurance broker </option> <option value=" Insurance claims handler "> Insurance claims handler </option> <option value=" Insurance loss adjuster "> Insurance loss adjuster </option> <option value=" Insurance risk surveyor "> Insurance risk surveyor </option> <option value=" Insurance technician "> Insurance technician </option> <option value=" Insurance underwriter "> Insurance underwriter </option> <option value=" Interior designer "> Interior designer </option> <option value=" Interpreter "> Interpreter </option> <option value=" Investment analyst "> Investment analyst </option> <option value=" IT project manager "> IT project manager </option> <option value=" IT security co-ordinator "> IT security co-ordinator </option> <option value=" IT service engineer "> IT service engineer </option> <option value=" IT support technician "> IT support technician </option> <option value=" IT trainer "> IT trainer </option> <option value=" Jewellery designer-maker "> Jewellery designer-maker </option> <option value=" Jockey "> Jockey </option> <option value=" Judge "> Judge </option> <option value=" Kennel worker "> Kennel worker </option> <option value=" Kitchen and bathroom fitter "> Kitchen and bathroom fitter </option> <option value=" Kitchen assistant "> Kitchen assistant </option> <option value=" Kitchen porter "> Kitchen porter </option> <option value=" Knitter "> Knitter </option> <option value=" Laboratory technician "> Laboratory technician </option> <option value=" Land and property valuer and auctioneer "> Land and property valuer and auctioneer </option> <option value=" Land surveyor "> Land surveyor </option> <option value=" Landscape architect "> Landscape architect </option> <option value=" Landscaper "> Landscaper </option> <option value=" Large goods vehicle driver "> Large goods vehicle driver </option> <option value=" Laundry worker "> Laundry worker </option> <option value=" Learning disability nurse "> Learning disability nurse </option> <option value=" Learning mentor "> Learning mentor </option> <option value=" Leather craftworker "> Leather craftworker </option> <option value=" Leather technologist "> Leather technologist </option> <option value=" Legal executive "> Legal executive </option> <option value=" Legal secretary "> Legal secretary </option> <option value=" Leisure centre assistant "> Leisure centre assistant </option> <option value=" Leisure centre manager "> Leisure centre manager </option> <option value=" Letting agent "> Letting agent </option> <option value=" Librarian "> Librarian </option> <option value=" Library assistant "> Library assistant </option> <option value=" Licensed conveyancer "> Licensed conveyancer </option> <option value=" Life coach "> Life coach </option> <option value=" Lifeguard "> Lifeguard </option> <option value=" Lift engineer "> Lift engineer </option> <option value=" Lighting technician "> Lighting technician </option> <option value=" Live sound engineer "> Live sound engineer </option> <option value=" Local government administrative assistant "> Local government administrative assistant </option> <option value=" Local government officer "> Local government officer </option> <option value=" Local government revenues officer "> Local government revenues officer </option> <option value=" Lock keeper "> Lock keeper </option> <option value=" Locksmith "> Locksmith </option> <option value=" Magazine journalist "> Magazine journalist </option> <option value=" Magistrate "> Magistrate </option> <option value=" Maintenance fitter "> Maintenance fitter </option> <option value=" Make-up artist "> Make-up artist </option> <option value=" Management accountant "> Management accountant </option> <option value=" Management consultant "> Management consultant </option> <option value=" Manufacturing supervisor "> Manufacturing supervisor </option> <option value=" Manufacturing systems engineer "> Manufacturing systems engineer </option> <option value=" Marine engineer "> Marine engineer </option> <option value=" Marine engineering technician "> Marine engineering technician </option> <option value=" Market research data analyst "> Market research data analyst </option> <option value=" Market research executive "> Market research executive </option> <option value=" Market researcher "> Market researcher </option> <option value=" Market trader "> Market trader </option> <option value=" Marketing director "> Marketing director </option> <option value=" Marketing executive "> Marketing executive </option> <option value=" Marketing manager "> Marketing manager </option> <option value=" Martial arts instructor "> Martial arts instructor </option> <option value=" Massage therapist "> Massage therapist </option> <option value=" Materials engineer "> Materials engineer </option> <option value=" Materials technician "> Materials technician </option> <option value=" Maternity support worker "> Maternity support worker </option> <option value=" Meat hygiene inspector "> Meat hygiene inspector </option> <option value=" Meat process worker "> Meat process worker </option> <option value=" Mechanical engineer "> Mechanical engineer </option> <option value=" Mechanical engineering technician "> Mechanical engineering technician </option> <option value=" Media researcher "> Media researcher </option> <option value=" Medical herbalist "> Medical herbalist </option> <option value=" Medical illustrator "> Medical illustrator </option> <option value=" Medical physicist "> Medical physicist </option> <option value=" Medical sales representative "> Medical sales representative </option> <option value=" Medical secretary "> Medical secretary </option> <option value=" Mental health nurse "> Mental health nurse </option> <option value=" Merchant Navy deck officer "> Merchant Navy deck officer </option> <option value=" Merchant Navy engineering officer "> Merchant Navy engineering officer </option> <option value=" Merchant Navy rating "> Merchant Navy rating </option> <option value=" Meteorologist "> Meteorologist </option> <option value=" Metrologist "> Metrologist </option> <option value=" Microbiologist "> Microbiologist </option> <option value=" Microbrewer "> Microbrewer </option> <option value=" Midwife "> Midwife </option> <option value=" Model maker "> Model maker </option> <option value=" Money adviser "> Money adviser </option> <option value=" Montessori teacher "> Montessori teacher </option> <option value=" Mortgage adviser "> Mortgage adviser </option> <option value=" Motor mechanic "> Motor mechanic </option> <option value=" Motor vehicle breakdown engineer "> Motor vehicle breakdown engineer </option> <option value=" Motor vehicle fitter "> Motor vehicle fitter </option> <option value=" Motor vehicle parts person "> Motor vehicle parts person </option> <option value=" Motorcycle mechanic "> Motorcycle mechanic </option> <option value=" Motorsport engineer "> Motorsport engineer </option> <option value=" MP "> MP </option> <option value=" Museum assistant "> Museum assistant </option> <option value=" Museum curator "> Museum curator </option> <option value=" Music promotions manager "> Music promotions manager </option> <option value=" Music teacher "> Music teacher </option> <option value=" Music therapist "> Music therapist </option> <option value=" Musical instrument maker and repairer "> Musical instrument maker and repairer </option> <option value=" Nail technician "> Nail technician </option> <option value=" Nanny "> Nanny </option> <option value=" Nanotechnologist "> Nanotechnologist </option> <option value=" Naturopath "> Naturopath </option> <option value=" Naval architect "> Naval architect </option> <option value=" Neighbourhood warden "> Neighbourhood warden </option> <option value=" Network engineer "> Network engineer </option> <option value=" Network manager "> Network manager </option> <option value=" Newspaper journalist "> Newspaper journalist </option> <option value=" Newspaper or magazine editor "> Newspaper or magazine editor </option> <option value=" Non-destructive testing technician "> Non-destructive testing technician </option> <option value=" Nuclear engineer "> Nuclear engineer </option> <option value=" Nuclear technician "> Nuclear technician </option> <option value=" Nurse "> Nurse </option> <option value=" Nursery manager "> Nursery manager </option> <option value=" Nursery worker "> Nursery worker </option> <option value=" Nursing associate "> Nursing associate </option> <option value=" Nutritional therapist "> Nutritional therapist </option> <option value=" Nutritionist "> Nutritionist </option> <option value=" Occupational health nurse "> Occupational health nurse </option> <option value=" Occupational therapist "> Occupational therapist </option> <option value=" Occupational therapy support worker "> Occupational therapy support worker </option> <option value=" Oceanographer "> Oceanographer </option> <option value=" Office manager "> Office manager </option> <option value=" Offshore drilling worker "> Offshore drilling worker </option> <option value=" Ofsted inspector "> Ofsted inspector </option> <option value=" Oil and gas operations manager "> Oil and gas operations manager </option> <option value=" Online tutor "> Online tutor </option> <option value=" Operating department practitioner "> Operating department practitioner </option> <option value=" Operational researcher "> Operational researcher </option> <option value=" Optometrist "> Optometrist </option> <option value=" Order picker "> Order picker </option> <option value=" Ornithologist "> Ornithologist </option> <option value=" Orthoptist "> Orthoptist </option> <option value=" Osteopath "> Osteopath </option> <option value=" Outdoor activities instructor "> Outdoor activities instructor </option> <option value=" Packaging technologist "> Packaging technologist </option> <option value=" Packer "> Packer </option> <option value=" Paediatrician "> Paediatrician </option> <option value=" Paint sprayer "> Paint sprayer </option> <option value=" Painter and decorator "> Painter and decorator </option> <option value=" Palaeontologist "> Palaeontologist </option> <option value=" Palliative care assistant "> Palliative care assistant </option> <option value=" Paper maker "> Paper maker </option> <option value=" Paralegal "> Paralegal </option> <option value=" Paramedic "> Paramedic </option> <option value=" Patent attorney "> Patent attorney </option> <option value=" Pathologist "> Pathologist </option> <option value=" Patient advice and liaison service officer "> Patient advice and liaison service officer </option> <option value=" Patient transport service controller "> Patient transport service controller </option> <option value=" Pattern cutter "> Pattern cutter </option> <option value=" Payroll administrator "> Payroll administrator </option> <option value=" Payroll manager "> Payroll manager </option> <option value=" PE teacher "> PE teacher </option> <option value=" Pensions administrator "> Pensions administrator </option> <option value=" Pensions adviser "> Pensions adviser </option> <option value=" Personal assistant "> Personal assistant </option> <option value=" Personal shopper "> Personal shopper </option> <option value=" Personal trainer "> Personal trainer </option> <option value=" Pest control technician "> Pest control technician </option> <option value=" Pet behaviour counsellor "> Pet behaviour counsellor </option> <option value=" Pet shop assistant "> Pet shop assistant </option> <option value=" Petrol station sales assistant "> Petrol station sales assistant </option> <option value=" Pharmacist "> Pharmacist </option> <option value=" Pharmacologist "> Pharmacologist </option> <option value=" Pharmacy assistant "> Pharmacy assistant </option> <option value=" Pharmacy technician "> Pharmacy technician </option> <option value=" Phlebotomist "> Phlebotomist </option> <option value=" Photographer "> Photographer </option> <option value=" Photographic stylist "> Photographic stylist </option> <option value=" Photographic technician "> Photographic technician </option> <option value=" Physician associate "> Physician associate </option> <option value=" Physicist "> Physicist </option> <option value=" Physiotherapist "> Physiotherapist </option> <option value=" Physiotherapy assistant "> Physiotherapy assistant </option> <option value=" Picture framer "> Picture framer </option> <option value=" Pilates teacher "> Pilates teacher </option> <option value=" Pipe fitter "> Pipe fitter </option> <option value=" Planning and development surveyor "> Planning and development surveyor </option> <option value=" Plasterer "> Plasterer </option> <option value=" Play therapist "> Play therapist </option> <option value=" Playworker "> Playworker </option> <option value=" Plumber "> Plumber </option> <option value=" Podiatrist "> Podiatrist </option> <option value=" Podiatry assistant "> Podiatry assistant </option> <option value=" Police community support officer "> Police community support officer </option> <option value=" Police officer "> Police officer </option> <option value=" Pop musician "> Pop musician </option> <option value=" Port operative "> Port operative </option> <option value=" Portage home visitor "> Portage home visitor </option> <option value=" Post Office customer service assistant "> Post Office customer service assistant </option> <option value=" Postman or postwoman "> Postman or postwoman </option> <option value=" Practice nurse "> Practice nurse </option> <option value=" Pre-press operator "> Pre-press operator </option> <option value=" Primary care graduate mental health worker "> Primary care graduate mental health worker </option> <option value=" Primary school teacher "> Primary school teacher </option> <option value=" Prison governor "> Prison governor </option> <option value=" Prison instructor "> Prison instructor </option> <option value=" Prison officer "> Prison officer </option> <option value=" Private investigator "> Private investigator </option> <option value=" Private practice accountant "> Private practice accountant </option> <option value=" Probation officer "> Probation officer </option> <option value=" Probation services officer "> Probation services officer </option> <option value=" Product designer "> Product designer </option> <option value=" Production manager (manufacturing) "> Production manager (manufacturing) </option> <option value=" Production worker (manufacturing) "> Production worker (manufacturing) </option> <option value=" Proofreader "> Proofreader </option> <option value=" Prop maker "> Prop maker </option> <option value=" Prosthetist-orthotist "> Prosthetist-orthotist </option> <option value=" Psychiatrist "> Psychiatrist </option> <option value=" Psychologist "> Psychologist </option> <option value=" Psychotherapist "> Psychotherapist </option> <option value=" Public finance accountant "> Public finance accountant </option> <option value=" Public relations director "> Public relations director </option> <option value=" Public relations officer "> Public relations officer </option> <option value=" Publican "> Publican </option> <option value=" Purchasing manager "> Purchasing manager </option> <option value=" QCF assessor "> QCF assessor </option> <option value=" Quality assurance manager "> Quality assurance manager </option> <option value=" Quality control assistant "> Quality control assistant </option> <option value=" Quantity surveyor "> Quantity surveyor </option> <option value=" Quarry engineer "> Quarry engineer </option> <option value=" Quarry worker "> Quarry worker </option> <option value=" Racehorse trainer "> Racehorse trainer </option> <option value=" Radio broadcast assistant "> Radio broadcast assistant </option> <option value=" Radiographer "> Radiographer </option> <option value=" Radiography assistant "> Radiography assistant </option> <option value=" RAF airman or airwoman "> RAF airman or airwoman </option> <option value=" RAF non-commissioned aircrew "> RAF non-commissioned aircrew </option> <option value=" RAF officer "> RAF officer </option> <option value=" Rail engineering technician "> Rail engineering technician </option> <option value=" Rail track maintenance worker "> Rail track maintenance worker </option> <option value=" Railway signaller "> Railway signaller </option> <option value=" Receptionist "> Receptionist </option> <option value=" Recruitment consultant "> Recruitment consultant </option> <option value=" Recycled metals worker "> Recycled metals worker </option> <option value=" Recycling officer "> Recycling officer </option> <option value=" Recycling operative "> Recycling operative </option> <option value=" Reflexologist "> Reflexologist </option> <option value=" Refrigeration and air-conditioning installer "> Refrigeration and air-conditioning installer </option> <option value=" Registrar of births, deaths, marriages and civil partnerships "> Registrar of births, deaths, marriages and civil partnerships </option> <option value=" Reiki healer "> Reiki healer </option> <option value=" Religious leader "> Religious leader </option> <option value=" Removals worker "> Removals worker </option> <option value=" Reprographic assistant "> Reprographic assistant </option> <option value=" Research and development manager "> Research and development manager </option> <option value=" Research scientist "> Research scientist </option> <option value=" Residential support worker "> Residential support worker </option> <option value=" Resort representative "> Resort representative </option> <option value=" Restaurant manager "> Restaurant manager </option> <option value=" Retail buyer "> Retail buyer </option> <option value=" Retail jeweller "> Retail jeweller </option> <option value=" Retail manager "> Retail manager </option> <option value=" Retail merchandiser "> Retail merchandiser </option> <option value=" Riding holiday centre manager "> Riding holiday centre manager </option> <option value=" Riding holiday leader "> Riding holiday leader </option> <option value=" Road traffic accident investigator "> Road traffic accident investigator </option> <option value=" Road transport manager "> Road transport manager </option> <option value=" Road worker "> Road worker </option> <option value=" Roadie "> Roadie </option> <option value=" Robotics engineer "> Robotics engineer </option> <option value=" Roofer "> Roofer </option> <option value=" Roustabout "> Roustabout </option> <option value=" Royal Marines commando "> Royal Marines commando </option> <option value=" Royal Marines officer "> Royal Marines officer </option> <option value=" Royal Navy officer "> Royal Navy officer </option> <option value=" Royal Navy rating "> Royal Navy rating </option> <option value=" RSPCA inspector "> RSPCA inspector </option> <option value=" Rural surveyor "> Rural surveyor </option> <option value=" Sailing instructor "> Sailing instructor </option> <option value=" Sales administrator "> Sales administrator </option> <option value=" Sales assistant "> Sales assistant </option> <option value=" Sales manager "> Sales manager </option> <option value=" Sales representative "> Sales representative </option> <option value=" Sample machinist "> Sample machinist </option> <option value=" Satellite engineer "> Satellite engineer </option> <option value=" Scaffolder "> Scaffolder </option> <option value=" Scenes of crime officer "> Scenes of crime officer </option> <option value=" School business manager "> School business manager </option> <option value=" School crossing patrol "> School crossing patrol </option> <option value=" School lunchtime supervisor "> School lunchtime supervisor </option> <option value=" School matron "> School matron </option> <option value=" School nurse "> School nurse </option> <option value=" School secretary "> School secretary </option> <option value=" Screenwriter "> Screenwriter </option> <option value=" Search and rescue worker "> Search and rescue worker </option> <option value=" Secondary school teacher "> Secondary school teacher </option> <option value=" Secretary "> Secretary </option> <option value=" Security manager "> Security manager </option> <option value=" Security officer "> Security officer </option> <option value=" Security Service personnel "> Security Service personnel </option> <option value=" Security systems installer "> Security systems installer </option> <option value=" Seismologist "> Seismologist </option> <option value=" Senior care worker "> Senior care worker </option> <option value=" Set designer "> Set designer </option> <option value=" Sewing machinist "> Sewing machinist </option> <option value=" Sexual health adviser "> Sexual health adviser </option> <option value=" Shelf filler "> Shelf filler </option> <option value=" Shoe repairer "> Shoe repairer </option> <option value=" Shopfitter "> Shopfitter </option> <option value=" Shopkeeper "> Shopkeeper </option> <option value=" Signalling technician "> Signalling technician </option> <option value=" Signmaker "> Signmaker </option> <option value=" Signwriter "> Signwriter </option> <option value=" Singing teacher "> Singing teacher </option> <option value=" Skills for life teacher "> Skills for life teacher </option> <option value=" Smart meter installer "> Smart meter installer </option> <option value=" Social media manager "> Social media manager </option> <option value=" Social services manager "> Social services manager </option> <option value=" Social work assistant "> Social work assistant </option> <option value=" Social worker "> Social worker </option> <option value=" Software developer "> Software developer </option> <option value=" Soldier "> Soldier </option> <option value=" Solicitor "> Solicitor </option> <option value=" Solutions architect "> Solutions architect </option> <option value=" Sonographer "> Sonographer </option> <option value=" Special educational needs (SEN) teacher "> Special educational needs (SEN) teacher </option> <option value=" Special educational needs (SEN) teaching assistant "> Special educational needs (SEN) teaching assistant </option> <option value=" Speech and language therapist "> Speech and language therapist </option> <option value=" Speech and language therapy assistant "> Speech and language therapy assistant </option> <option value=" Sport and exercise psychologist "> Sport and exercise psychologist </option> <option value=" Sports agent "> Sports agent </option> <option value=" Sports coach "> Sports coach </option> <option value=" Sports commentator "> Sports commentator </option> <option value=" Sports development officer "> Sports development officer </option> <option value=" Sports physiotherapist "> Sports physiotherapist </option> <option value=" Sports professional "> Sports professional </option> <option value=" Sports scientist "> Sports scientist </option> <option value=" Stage manager "> Stage manager </option> <option value=" Stagehand "> Stagehand </option> <option value=" Steel erector "> Steel erector </option> <option value=" Steel fixer "> Steel fixer </option> <option value=" Steeplejack "> Steeplejack </option> <option value=" Sterile services technician "> Sterile services technician </option> <option value=" Stock control assistant "> Stock control assistant </option> <option value=" Stockbroker "> Stockbroker </option> <option value=" Stonemason "> Stonemason </option> <option value=" Store detective "> Store detective </option> <option value=" Street food trader "> Street food trader </option> <option value=" Structural engineer "> Structural engineer </option> <option value=" Studio sound engineer "> Studio sound engineer </option> <option value=" Stunt performer "> Stunt performer </option> <option value=" Sub-editor "> Sub-editor </option> <option value=" Substance misuse outreach worker "> Substance misuse outreach worker </option> <option value=" Supervisor "> Supervisor </option> <option value=" Supply chain manager "> Supply chain manager </option> <option value=" Surgeon "> Surgeon </option> <option value=" Swimming teacher "> Swimming teacher </option> <option value=" Systems analyst "> Systems analyst </option> <option value=" Tailor "> Tailor </option> <option value=" Tanker driver "> Tanker driver </option> <option value=" Tattooist "> Tattooist </option> <option value=" Tax adviser "> Tax adviser </option> <option value=" Tax inspector "> Tax inspector </option> <option value=" Taxi driver "> Taxi driver </option> <option value=" Taxidermist "> Taxidermist </option> <option value=" Teaching assistant "> Teaching assistant </option> <option value=" Technical architect "> Technical architect </option> <option value=" Technical author "> Technical author </option> <option value=" Technical brewer "> Technical brewer </option> <option value=" Technical surveyor "> Technical surveyor </option> <option value=" Technical textiles designer "> Technical textiles designer </option> <option value=" Telecoms engineer "> Telecoms engineer </option> <option value=" Telephonist "> Telephonist </option> <option value=" Test lead "> Test lead </option> <option value=" Textile designer "> Textile designer </option> <option value=" Textile dyeing technician "> Textile dyeing technician </option> <option value=" Textile machinery technician "> Textile machinery technician </option> <option value=" Textile operative "> Textile operative </option> <option value=" Textiles production manager "> Textiles production manager </option> <option value=" Thatcher "> Thatcher </option> <option value=" Thermal insulation engineer "> Thermal insulation engineer </option> <option value=" Tiler "> Tiler </option> <option value=" Toolmaker "> Toolmaker </option> <option value=" Tour manager "> Tour manager </option> <option value=" Tourist guide "> Tourist guide </option> <option value=" Tourist information centre assistant "> Tourist information centre assistant </option> <option value=" Town planner "> Town planner </option> <option value=" Town planning assistant "> Town planning assistant </option> <option value=" Tractor driver "> Tractor driver </option> <option value=" Trade mark attorney "> Trade mark attorney </option> <option value=" Trade union official "> Trade union official </option> <option value=" Trading standards officer "> Trading standards officer </option> <option value=" Train conductor "> Train conductor </option> <option value=" Train driver "> Train driver </option> <option value=" Train station worker "> Train station worker </option> <option value=" Training manager "> Training manager </option> <option value=" Training officer "> Training officer </option> <option value=" Tram driver "> Tram driver </option> <option value=" Translator "> Translator </option> <option value=" Transport planner "> Transport planner </option> <option value=" Travel agency manager "> Travel agency manager </option> <option value=" Travel agent "> Travel agent </option> <option value=" Tree surgeon "> Tree surgeon </option> <option value=" TV or film assistant director "> TV or film assistant director </option> <option value=" TV or film camera operator "> TV or film camera operator </option> <option value=" TV or film director "> TV or film director </option> <option value=" TV or film producer "> TV or film producer </option> <option value=" TV or film production assistant "> TV or film production assistant </option> <option value=" TV or film production manager "> TV or film production manager </option> <option value=" TV or film production runner "> TV or film production runner </option> <option value=" TV or film sound technician "> TV or film sound technician </option> <option value=" TV presenter "> TV presenter </option> <option value=" Typist "> Typist </option> <option value=" Upholsterer "> Upholsterer </option> <option value=" User experience (UX) designer "> User experience (UX) designer </option> <option value=" User researcher "> User researcher </option> <option value=" Vehicle body repairer "> Vehicle body repairer </option> <option value=" Vending machine operator "> Vending machine operator </option> <option value=" Vet "> Vet </option> <option value=" Veterinary nurse "> Veterinary nurse </option> <option value=" Veterinary physiotherapist "> Veterinary physiotherapist </option> <option value=" Victim care officer "> Victim care officer </option> <option value=" Video editor "> Video editor </option> <option value=" Visitor attraction general manager "> Visitor attraction general manager </option> <option value=" Visual merchandiser "> Visual merchandiser </option> <option value=" Vlogger "> Vlogger </option> <option value=" Waiter "> Waiter </option> <option value=" Wardrobe assistant "> Wardrobe assistant </option> <option value=" Warehouse manager "> Warehouse manager </option> <option value=" Warehouse worker "> Warehouse worker </option> <option value=" Watch or clock repairer "> Watch or clock repairer </option> <option value=" Water network operative "> Water network operative </option> <option value=" Water treatment worker "> Water treatment worker </option> <option value=" Web content editor "> Web content editor </option> <option value=" Web content manager "> Web content manager </option> <option value=" Web designer "> Web designer </option> <option value=" Web developer "> Web developer </option> <option value=" Wedding planner "> Wedding planner </option> <option value=" Welder "> Welder </option> <option value=" Welfare rights officer "> Welfare rights officer </option> <option value=" Wind turbine technician "> Wind turbine technician </option> <option value=" Window cleaner "> Window cleaner </option> <option value=" Window fabricator "> Window fabricator </option> <option value=" Window fitter "> Window fitter </option> <option value=" Windscreen fitter "> Windscreen fitter </option> <option value=" Wine merchant "> Wine merchant </option> <option value=" Wood machinist "> Wood machinist </option> <option value=" Writer "> Writer </option> <option value=" Yard person "> Yard person </option> <option value=" Yoga teacher "> Yoga teacher </option> <option value=" Yoga therapist "> Yoga therapist </option> <option value=" Youth offending team officer "> Youth offending team officer </option> <option value=" Youth worker "> Youth worker </option> <option value=" Zookeeper "> Zookeeper </option> <option value=" Zoologist "> Zoologist </option> </select> </header> </section> <!--PHP OUTPUT--> <?php echo $output; ?> <a id="CAREERS"></a> <section class="career-header"> <h2>CHOOSE BY CAREER GROUP</h2> </section> <!--Portfolio --> <section class="portfolio"> <a href="Administration.html"><img src="img/Hoodies/Admin.png" alt="ADMIN"></a> <a href="Animal Care.html"><img src="img/Hoodies/Animals.png" alt="ANIMAL CARE"></a> <a href="Business.html"><img src="img/Hoodies/Business.png" alt="BUSINESS"></a> <a href="Compuer Science.html"><img src="img/Hoodies/Computer.png" alt="COMPUTER SCIENCE"></a> <a href="Construction.html"><img src="img/Hoodies/Construct.png" alt="CONSTRUCTION"></a> <a href="Create.html"><img src="img/Hoodies/Create.png" alt="CREATE"></a> <a href="Design Technology.html"><img src="img/Hoodies/Design.png" alt="DESIGN TECHNOLOGY"></a> <a href="Emergency.html"><img src="img/Hoodies/Emergency.png" alt="EMERGENCY & UNIFORM"></a> <a href="Engineering.html"><img src="img/Hoodies/Engineering.png" alt="ENGINEERING"></a> <a href="Environment.html"><img src="img/Hoodies/Environment.png" alt="ENVIRONMENT"></a> <a href="Food.html"><img src="img/Hoodies/Food.png" alt="FOOD"></a> <a href="Foreign Languages.html"><img src="img/Hoodies/Languages.png" alt="FOREIGN LANGUAGES"></a> <a href="Geography.html"><img src="img/Hoodies/Geography.png" alt="GEOGRAPHY"></a> <a href="Healthcare.html"><img src="img/Hoodies/Healthcare.png" alt="HEALTHCARE"></a> <a href="History.html"><img src="img/Hoodies/History.png" alt="HISTORY"></a> <a href="Law.html"><img src="img/Hoodies/Law.png" alt="LAW & LEGAL"></a> <a href="Maths.html"><img src="img/Hoodies/Maths.png" alt="MATHS"></a> <a href="Media.html"><img src="img/Hoodies/Media.png" alt="MEDIA"></a> <a href="Performance.html"><img src="img/Hoodies/Performance.png" alt="PERFORMANCE"></a> <a href="Physical Education.html"><img src="img/Hoodies/Physical.png" alt="PHYSICAL EDUCATION"></a> <a href="Religious Education.html"><img src="img/Hoodies/Religion.png" alt="RELIGIOUS EDUCATION"></a> <a href="Retail.html"><img src="img/Hoodies/Retail.png" alt="RETAIL & SALES"></a> <a href="Science.html"><img src="img/Hoodies/Science.png" alt="SCIENCE"></a> <a href="Teaching.html"><img src="img/Hoodies/Teaching.png" alt="TEACHING"></a> <a href="Transport.html"><img src="img/Hoodies/Transport.png" alt="TRANSPORT & LOGISTICS"></a> <a href="Travel.html"><img src="img/Hoodies/Travel.png" alt="TRAVEL & TOURISM"></a> <a href="Wellbeing.html"><img src="img/Hoodies/Wellbeing.png" alt="WELLBEING & SOCIALCARE"></a> </section> <!--Footer --> <section class="footer"> <p>Flight Education is © Copyright 2020 - All rights reserved. | The Flight Education Ltd, and logo are registered trademarks of Flight Education Ltd. | Company Number: 12556377</p> </section> </div> <!--Wrapper Ends --> </body> </html> Edited August 2, 2020 by Barand add code tags Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/ Share on other sites More sharing options...
gw1500se Posted August 2, 2020 Share Posted August 2, 2020 1. When posting PHP code use the code icon (<>) and specify PHP. Similarly do the same for HTML. 2. Never, ever use web data directly in queries. Use prepared statements to prevent injection attacks. 3. Don't use * in SELECT statements. List only those columns that you actually are going to use. 4. During development turn on all error reporting. error_reporting(E_ALL); Did you echo $_POST['search'] to make sure it contains what you expect? Did you check they httpd log to see if there are any errors there? Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580282 Share on other sites More sharing options...
StevenOliver Posted August 3, 2020 Share Posted August 3, 2020 (edited) #1.) Put at TOP of your php scripts: <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); (be sure to remove this when it goes live, you don't want public to see any errors). #2.) if((isset($_POST['submit'])) && (isset($_POST['search']) && ($_POST['search'] != NULL))) { $search = $mysqli->real_escape_string($_POST['search']); $result = $mysqli->query("SELECT * FROM careers WHERE JobTitle regexp $search"); #3.) "Job Title" or "Salary Low" etc., etc., you can't have two-word variables for mysql or php or anything. You need to do like this: jobTitle, or job_title, or jobtitle or SalaryLow, or salarylow or salary_low...... you can't have mysql columns or php variables named with words with spaces. #4.) Clean up your output. You have $output .="Job Title:$jobTitle<br /> and that's going to look like: Job Title:carpenter You would want $output .="Job Title: $jobTitle.<br /> so that it will look proper: Job Title: carpenter. Edited August 3, 2020 by StevenOliver 1 Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580298 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 7 hours ago, StevenOliver said: #1.) Put at TOP of your php scripts: <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); (be sure to remove this when it goes live, you don't want public to see any errors). #2.) if((isset($_POST['submit'])) && (isset($_POST['search']) && ($_POST['search'] != NULL))) { $search = $mysqli->real_escape_string($_POST['search']); $result = $mysqli->query("SELECT * FROM careers WHERE JobTitle regexp $search"); #3.) "Job Title" or "Salary Low" etc., etc., you can't have two-word variables for mysql or php or anything. You need to do like this: jobTitle, or job_title, or jobtitle or SalaryLow, or salarylow or salary_low...... you can't have mysql columns or php variables named with words with spaces. #4.) Clean up your output. You have $output .="Job Title:$jobTitle<br /> and that's going to look like: Job Title:carpenter You would want $output .="Job Title: $jobTitle.<br /> so that it will look proper: Job Title: carpenter. Thanks for your reply Steven...you cant imagine how grateful I am!!! Have altered the PHP code (below) on your advise, and have altered the headers in the database to be single words, like salaryLow, jobDescription to match the php: < <?php session_start(); $output=NULL; ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); //Connect to the database $mysqli = new mysqli("localhost", "jj3wg2td_steven", "PASSWORD", "jj3wg2td_careerslist"); //Query the database if((isset($_POST['submit'])) && (isset($_POST['search']) && ($_POST['search'] != NULL))) { $search = $mysqli->real_escape_string($_POST['search']); $result = $mysqli->query("SELECT * FROM careers WHERE JobTitle regexp $search"); if($result->num_rows > 0) { while($rows=$result->fetch_assoc()) { $jobTitle=$rows['Job Title']; $jobDesription=$rows['Job Description']; $salaryLow=$rows['Salary Low']; $salaryHigh=$rows['Salary High']; $output .="Job Title: $jobTitle<br /> Job Description: $jobDesription<br /> Salary Low: $salaryLow<br /> Salary High: $salaryHigh<br /> <br />"; } } else{ $output="No results"; } } ?> > The error it is now coughing out is: Warning: mysqli::__construct(): Headers and client library minor version mismatch. Headers:50646 Library:50528 in /home/jj3wg2td/public_html/Careers Connect.php on line 8 Whilst this is all new to me, I believe this is now down to an issue with PHP version mismatch? Have built the PHP using Dreamweaver CC (v19.1) and have PHP Version 5.6 I cannot apologise enough for using up your time, but you are the first person to have made any leg room with this!! Kindest Steven Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580305 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 Thought I may have solved it then: Changed Dreamweaver PHP version to 7.1 and MyPHP version in cPanel to be 7.1...but same error reported (Grrr) Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580306 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 and: Notice: Trying to get property of non-object in /home/jj3wg2td/public_html/Careers Connect.php on line 15 Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580307 Share on other sites More sharing options...
Barand Posted August 3, 2020 Share Posted August 3, 2020 Looks like the query is failing. Try putting $Search in single quotes, or, better, use a prepared query. 1 Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580313 Share on other sites More sharing options...
gw1500se Posted August 3, 2020 Share Posted August 3, 2020 The warning has nothing to do with your IDE. The problem is the version of PHP and version of mysqlnd. Run the following code to get the version of PHP and the version of mysqlnd. <?php phpinfo(); ?> You probably need to update one or the other. You also do not say which is line 15 and you are not use the code icon which makes your code easier to read. Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580314 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 6 minutes ago, Barand said: Looks like the query is failing. Try putting $Search in single quotes, or, better, use a prepared query. Thanks also Barand!!! Wrapped $search in ' ' and now receive: Warning: mysqli::__construct(): Headers and client library minor version mismatch. Headers:50646 Library:50528 in /home/jj3wg2td/public_html/Careers Connect.php on line 8 Notice: Undefined index: Job Title in /home/jj3wg2td/public_html/Careers Connect.php on line 19 Notice: Undefined index: Job Description in /home/jj3wg2td/public_html/Careers Connect.php on line 20 Notice: Undefined index: Salary Low in /home/jj3wg2td/public_html/Careers Connect.php on line 21 Notice: Undefined index: Salary High in /home/jj3wg2td/public_html/Careers Connect.php on line 22 Notice: Undefined index: Job Title in /home/jj3wg2td/public_html/Careers Connect.php on line 19 Notice: Undefined index: Job Description in /home/jj3wg2td/public_html/Careers Connect.php on line 20 Notice: Undefined index: Salary Low in /home/jj3wg2td/public_html/Careers Connect.php on line 21 Notice: Undefined index: Salary High in /home/jj3wg2td/public_html/Careers Connect.php on line 22 Notice: Undefined index: Job Title in /home/jj3wg2td/public_html/Careers Connect.php on line 19 Notice: Undefined index: Job Description in /home/jj3wg2td/public_html/Careers Connect.php on line 20 Notice: Undefined index: Salary Low in /home/jj3wg2td/public_html/Careers Connect.php on line 21 Notice: Undefined index: Salary High in /home/jj3wg2td/public_html/Careers Connect.php on line 22 Notice: Undefined index: Job Title in /home/jj3wg2td/public_html/Careers Connect.php on line 19 Notice: Undefined index: Job Description in /home/jj3wg2td/public_html/Careers Connect.php on line 20 Notice: Undefined index: Salary Low in /home/jj3wg2td/public_html/Careers Connect.php on line 21 Notice: Undefined index: Salary High in /home/jj3wg2td/public_html/Careers Connect.php on line 22 Notice: Undefined index: Job Title in /home/jj3wg2td/public_html/Careers Connect.php on line 19 Notice: Undefined index: Job Description in /home/jj3wg2td/public_html/Careers Connect.php on line 20 Notice: Undefined index: Salary Low in /home/jj3wg2td/public_html/Careers Connect.php on line 21 Notice: Undefined index: Salary High in /home/jj3wg2td/public_html/Careers Connect.php on line 22 Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580315 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 8 minutes ago, gw1500se said: The warning has nothing to do with your IDE. The problem is the version of PHP and version of mysqlnd. Run the following code to get the version of PHP and the version of mysqlnd. <?php phpinfo(); ?> You probably need to update one or the other. You also do not say which is line 15 and you are not use the code icon which makes your code easier to read. I can only apologise, I am trying very much! line 15 is: (<if($result->num_rows > 0)>) I have taken your advise on the php and mysqlnd version, as I believed that was the problem this morning, but after sorting, they seem to be running the same versions now? Images attached. Many thanks again! Steven Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580316 Share on other sites More sharing options...
gw1500se Posted August 3, 2020 Share Posted August 3, 2020 Those lines getting the error (which you did not post) contain spaces in the filename. Depending on how they are used, you need to use %20 instead if the spaces. You probably want to use urlencode on the path string. 1 Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580318 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 10 minutes ago, gw1500se said: Those lines getting the error (which you did not post) contain spaces in the filename. Depending on how they are used, you need to use %20 instead if the spaces. You probably want to use urlencode on the path string. gw1500se - I am sure I am annoying you and I profusely apologise....but I also think you are a genius!!!! (please see image) This is the first time I have managed to get anything from it in 6-7 weeks!! It still shows: Warning: mysqli::__construct(): Headers and client library minor version mismatch. Headers:50646 Library:50528 in /home/jj3wg2td/public_html/Careers Connect.php on line 8 which is: (<$mysqli = new mysqli("localhost", "jj3wg2td_steven", "PASSWORD", "jj3wg2td_careerslist");>) but am grinning from ear to ear currently!! Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580319 Share on other sites More sharing options...
gw1500se Posted August 3, 2020 Share Posted August 3, 2020 What version of mysql or mariaDB are you using? mysql -V Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580320 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 15 minutes ago, gw1500se said: What version of mysql or mariaDB are you using? mysql -V Unsure if this is what you mean but: Versionmysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $ All I have done is turn the error reporting off in the code, and all works fine now (am sure to coding gurus, it would drive you mad knowing there was a glitch)! As I say....I cannot praise and thank you enough!!!!! Steven Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580322 Share on other sites More sharing options...
gw1500se Posted August 3, 2020 Share Posted August 3, 2020 (edited) I mean for you to enter that on the command line of the machine running the MySQL server. Edited August 3, 2020 by gw1500se Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580324 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 23 minutes ago, gw1500se said: I mean for you to enter that on the command line of the machine running the MySQL server. See bel Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580325 Share on other sites More sharing options...
gw1500se Posted August 3, 2020 Share Posted August 3, 2020 Looks like you need to upgrade to version 8. Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580326 Share on other sites More sharing options...
wix100 Posted August 3, 2020 Author Share Posted August 3, 2020 26 minutes ago, gw1500se said: Looks like you need to upgrade to version 8. Maybe thats been the problem all along.....it has driven me mental (more mental), will contact the hosts and get them to do it as I cannot access/upgrade it from here! Thanks again Mr!! Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580327 Share on other sites More sharing options...
Barand Posted August 3, 2020 Share Posted August 3, 2020 3 hours ago, wix100 said: All I have done is turn the error reporting off in the code, and all works fine now That's the equivalent of removing the bulb when a warning light comes on. It doesn't fix anything. Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580329 Share on other sites More sharing options...
StevenOliver Posted August 4, 2020 Share Posted August 4, 2020 Especially when learning PHP (like I currently am), it is really really important to have the latest PHP and latest mySQL. I literally spent months on cleaning up my PHP 5 code only to realize that PHP 7.4 is available, and those months could have been spent learning how to code properly. So definitely upgrade your PHP and mySQL to the max. Email your shared hosting company if necessary... ask them to move you to a newer server, etc. THEN all you have to do is stick the Error Reporting code on top, and it (along with a few google searches) will actually teach you how to fix everything in your code. It is VERY satisfying to have error reporting ON, and to have no errors! Also, turn on mySQL error reporting, too (google how to do this). 1 Quote Link to comment https://forums.phpfreaks.com/topic/311267-php-and-mysql-searchconnect-help/#findComment-1580339 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.