You are here: Re: [PHP] Unable to send variables to MySQL table « PHP « IT news, forums, messages
Re: [PHP] Unable to send variables to MySQL table

Posted by "Stewart Priest" on 10/15/36 11:31

<snip>
print $add_to_db;
</snip>

Thanks for all your replies! I didn't expect to get one so quick, so thanks!

After I did the above, I pasted the output into MySQL. Guess what? It didn't
work!

I was only sending values for $item1_desc and $item1_cost. Because I was not
sending values for the other columns, I was getting an error message saying
the data was truncated for the empty variables.

Now I need to figure out how to send empty values... would NULL do the job?

Thanks again!
Stewart

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация