Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku
My account: Login | Sign Up
Loading... 

Can't find my error | Thread profile

Thread profile page for "Can't find my error" on http://www.phpbuilder.com. This report page is a snippet summary view from a single thread "Can't find my error", located on the Message Board at http://www.phpbuilder.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity, which are reported in a table below. Additional thread profile information is also shown in the following ways:

1) Top Contributing Authors
2) Related Threads on "eBay Auctions"
3) Related Threads on Other Sites

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a thread's popularity and/or exact posting volumes at any given reporting period.

Title: Can't find my error
Site: PHPBuilder.com  PHPBuilder.com - site profile
Forum: Database  Database - forum profile
Total authors: 3 authors
Total thread posts: 8 posts
Thread activity: no new posts during last week
Domain info for: phpbuilder.com

Thread posts in Can't find my error:

1. 
Started 6 months ago (2009-01-04 22:06:00)  by dmcglone
Hi Everyone, I put together this little db insert and I can't figure out where it's going wrong. Everything works except it is inserting blank records and not the contents of the filled out form. Here's the code. It seems I'm missing something, like aImissed a step or something, but I followed a previous example except I had to change the sql to INSERT instead of UPDATE, could it be failing ...
Size: 2,914 bytes
Customize:  Customize "Can't find my error :: Database :: PHPBuilder.com"
2. 
Started 6 months ago (2009-01-05 00:56:00)  by coldwerturkey
you may want to read up a bit more on basic mysql, http://dev.mysql.com/doc/refman/5.1/en/ insets work as follows INSERT INTO table (column, column, column) VALUES ('value', 'value', 'value') & updates like so UPDATE table SET column = 'value', column = 'value', column = 'value' WHERE .. you can't interchange them. additionally, a great man once told me that you ...
Size: 9,275 bytes
Customize:  Customize "<b>Reply 1</b>: Can't find my error :: Database :: PHPBuilder.com"
3. 
Started 6 months ago (2009-01-05 05:30:00)  by djjjozsi
if i were you, i would make one function to print the form, one function to check all the required fields and one function to write the elements into the database. and these functions filled with data with array, not predefined strings. todays i were make a video tutorial about this issue (how to make clever functions), i could then send you the url hello,jjozsi
Size: 538 bytes
Customize:  Customize "<b>Reply 2</b>: Can't find my error :: Database :: PHPBuilder.com"
4. 
Started 6 months ago (2009-01-05 08:39:00)  by dmcglone
Quote: Originally Posted by coldwerturkey you may want to read up a bit more on basic mysql, http://dev.mysql.com/doc/refman/5.1/en/ insets work as follows INSERT INTO table (column, column, column) VALUES ('value', 'value', 'value') & updates like so UPDATE table SET column = 'value', column = 'value', column = '...
Size: 5,826 bytes
Customize:  Customize "<b>Reply 3</b>: Can't find my error :: Database :: PHPBuilder.com"
5. 
Started 6 months ago (2009-01-05 08:44:00)  by dmcglone
Quote: Originally Posted by djjjozsi if i were you, i would make one function to print the form, one function to check all the required fields and one function to write the elements into the database. and these functions filled with data with array, not predefined strings. todays i were make a video tutorial about this ...
Size: 1,254 bytes
Customize:  Customize "<b>Reply 4</b>: Can't find my error :: Database :: PHPBuilder.com"
6. 
Started 6 months ago (2009-01-05 09:05:00)  by dmcglone
Ah! Ha! After writing my replies, I came to the realisation that I did not define my variables like you did below. Am I thinking correct? This is the way I see how your code as written in steps: 1. check to see if form is filled out with isset. 2. connect to db 3. assign the form elements to variables so the information that is entered into each text box can be stored for insertion...
Size: 1,775 bytes
Customize:  Customize "<b>Reply 5</b>: Can't find my error :: Database :: PHPBuilder.com"
7. 
Started 6 months ago (2009-01-05 11:24:00)  by coldwerturkey
I was just showing you an example how i would do it. & My way is not the best way, especially considering thats only a snippet of your site & it may interrupt the flow. the lower case was just a preference. with checking the isset($_POST['First']), without it, the query may run every time the page loads, in which case you'll get undefined variable errors and blank entries entered into ...
Size: 12 kb
Customize:  Customize "<b>Reply 6</b>: Can't find my error :: Database :: PHPBuilder.com"
8. 
Started 6 months ago (2009-01-05 11:53:00)  by dmcglone
Cool, Got it. I'm learning slowly but surely
Size: 135 bytes
Customize:  Customize "<b>Reply 7</b>: Can't find my error :: Database :: PHPBuilder.com"
 

Top contributing authors for Can't find my error

Name
Posts
dmcglone
5
user's latest post:
Can't find my error
Published (2009-01-04 22:06:00)
Hi Everyone, I put together this little db insert and I can't figure out where it's going wrong. Everything works except it is inserting blank records and not the contents of the filled out form. Here's the code. It seems I'm missing something, like aImissed a step or something, but I followed a previous example except I had to change the sql to INSERT instead of UPDATE, could it be failing because I am not adding the auto...
coldwerturkey
2
user's latest post:
Can't find my error
Published (2009-01-05 11:24:00)
I was just showing you an example how i would do it. &amp; My way is not the best way, especially considering thats only a snippet of your site &amp; it may interrupt the flow. the lower case was just a preference. with checking the isset($_POST['First']), without it, the query may run every time the page loads, in which case you'll get undefined variable errors and blank entries entered into to database. turning...
djjjozsi
1
user's latest post:
Can't find my error
Published (2009-01-05 05:30:00)
if i were you, i would make one function to print the form, one function to check all the required fields and one function to write the elements into the database. and these functions filled with data with array, not predefined strings. todays i were make a video tutorial about this issue (how to make clever functions), i could then send you the url hello,jjozsi