¡@

Home 

php Programming Glossary: typeinfo

Using PHP to take the first line of a CSV file and create a MySQL Table with the data

http://stackoverflow.com/questions/173498/using-php-to-take-the-first-line-of-a-csv-file-and-create-a-mysql-table-with-the

fieldList i switch gettype fieldList i case 'integer' typeInfo 'int 11 ' break case 'float' typeInfo 'float' break case 'string'.. i case 'integer' typeInfo 'int 11 ' break case 'float' typeInfo 'float' break case 'string' typeInfo 'varchar 80 ' break default.. ' break case 'float' typeInfo 'float' break case 'string' typeInfo 'varchar 80 ' break default typeInfo 'varchar 80 ' break if..