The connection code has the "or die" in it, that was why I knew it was ok. However, your pointing out "the MySQL syntax says database.tablename" was right on the money!!
Mea culpa, I'm an idiot. DB name is msi, table name is speakers. Works like a charm when you give it the right instructions...
DRJ478,
It revealed:
MySQL insertion failed: Table 'msi.msi' doesn't exist
How bizarre! There are no instances of my calling a table by that name. Though it does look like a pix.jpg construct. I've suspected the $pix = $newname; might be part of the problem. Just can't figure out how to deal...
I've been modifying a php script that inserted data into my database to include an image file upload. Previously, it inserted the data just fine. But now it goes through the motions, but doesn't put anything into the database. The new code I added for the file upload seems to be working fine...
Haunter,
The perl part already exists and is used for routing and other purposes. I was trying to help my employer and become familiar with PHP. I've had to pass this project on to our perl consultant to finish, it was taking me waaay too long to figure out. For my next attempt, I'm just going...
The perl part already exists and is used for routing and other purposes. I was trying to help my employer and become familiar with PHP. I've had to pass this project on to our perl consultant to finish, it was taking me waaay to long to figure out. For my next attempt, I'm just going to start...
Paul,
I thought I was passing the values through the form upon submittal since the PHP is rendering the array of choices into html on that first page example. Here's what the php renders:
<code>
<input type="checkbox" name="ptitle[]" value="Farmington Villas" checked>Farmington Villas<br>...
I'm very weak in Perl/PHP, spent the last 2 days figuring out passing multiple checkboxes to a PHP page and was able to figure it out with some help from online tutorials. But now I'm stuck, I've searched for any working solutions similar to my dilemma: how to pass the dynamic PHP array to Perl...
I'm very weak in Perl/PHP, spent the last 2 days figuring out passing multiple checkboxes to a PHP page and was able to figure it out with some help from online tutorials. But now I'm stuck, I've searched for any working solutions similar to my dilemma: how to pass the dynamic PHP array to Perl...
I'm very weak in Perl/PHP, spent the last 2 days figuring out passing multiple checkboxes to a PHP page and was able to figure it out with some help from online tutorials. But now I'm stuck, I've searched for any working solutions similar to my dilemma: how to pass the dynamic PHP array to Perl...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.