Em Andamento

PHP Script - If Else - MySQL Data

I have a MySql database that has 100,000 records in it. Each record has 20 fields, fields 1 through 10 have data, fields 11 through 20 may or may not have data.

I also have a php page that calls selected data fields from each record.

I need a simple if else php script that will look into a MYSQL database and "if" there is data in record #11, for example, it will show that record, if not it will not show anything.

I'm pulling the data records using this <?=$row['Record11']?> to check and see if there is data there however I'm not sure about the correct syntax etc. the variable is a "longtext" variable, it's actually a list of items.

<?php

$list1 = <?=$row['Record11']? >

if ($list1=="")

else

Show record 11 in a table

?>

I know this is not right but it will give you an idea of how I'm working with the data. The page already is connected to the database and can pull records I just need it to check for a value or not in selected fields.

I'm sure this is very easy for the right coder. Should not take very long.

Habilidades: Engenharia, Linux, MySQL, PHP, Gestão de projetos, Instalação de Script, Shell Script, Arquitetura de software, Teste de Software, UNIX, XML

Ver mais: data pulling, xml mysql php script, check table mysql script, simple xml php, variable mysql, mysql record, php xml table example, database selected row, mysql script check table, easy xml mysql, php script mysql database, simple page php script, using xml mysql php, php page example, xml data table, simple list php script, database php script, easy mysql xml, check record script, php script mysql, data pull, mysql xml using php, php database variable, php script page, simple data records

Acerca do Empregador:
( 72 comentários ) United States

ID do Projeto: #2996623

Premiar a:

abdullah321123

See private message.

$7 USD em 2 dias
(30 Avaliações)
4.1

2 freelancers estão ofertando em média $8 para este trabalho

gsmsl

See private message.

$8.5 USD in 2 dias
(22 Comentários)
2.9