Search found 18 matches
- Tue Jul 20, 2004 12:58 pm
- Forum: PHP - Code
- Topic: [SOLVED] Bad query or error: Column count doesn't match valu
- Replies: 4
- Views: 387
Solved!!
solved - had the form type set to submit instead of post 
- Tue Jul 20, 2004 11:17 am
- Forum: PHP - Code
- Topic: [SOLVED] Bad query or error: Column count doesn't match valu
- Replies: 4
- Views: 387
- Tue Jul 20, 2004 10:49 am
- Forum: PHP - Code
- Topic: [SOLVED] Bad query or error: Column count doesn't match valu
- Replies: 4
- Views: 387
[SOLVED] Bad query or error: Column count doesn't match valu
Ok, I'm using this same basic code syntax with a different database/page and it works fine. I created a new db/table, ec. for this page data to submit and it gives me this error whenever I try to submit the form. Bad query or error: Column count doesn't match value count at row 1 <?php // Begin subm...
- Fri Jun 18, 2004 10:08 am
- Forum: PHP - Code
- Topic: PHP and mySQL search functions...
- Replies: 11
- Views: 1139
Hmm, thanks for the idea.........tried the following code. It runs, dumps me to the results page, but only displays the headers. No errors, no data..........nada. here is the page code in its entirety <?php <html> <head> <title>Search Submit</title> </head> <body> <? // IP Restriction Code $ip = joi...
- Fri Jun 18, 2004 9:48 am
- Forum: PHP - Code
- Topic: PHP and mySQL search functions...
- Replies: 11
- Views: 1139
- Fri Jun 18, 2004 7:59 am
- Forum: PHP - Code
- Topic: PHP and mySQL search functions...
- Replies: 11
- Views: 1139
- Fri Jun 18, 2004 1:22 am
- Forum: PHP - Code
- Topic: PHP and mySQL search functions...
- Replies: 11
- Views: 1139
feyd - for my query I want it to check the following table and search one specific column for a certain piece of data, then return and print out all the rows that have that data in the column. user enters a value in the search field - say a building name. I want to search a specific column in the ta...
- Thu Jun 17, 2004 3:42 pm
- Forum: PHP - Code
- Topic: PHP and mySQL search functions...
- Replies: 11
- Views: 1139
PHP and mySQL search functions...
New problem.... Why won't this code work? $sql=mysql_query("SELECT * FROM data WHERE (rccfname LIKE '%namesearch%') OR (rcclname LIKE '%namesearch%') OR (clientfname LIKE '%namesearch%') OR (clientlname LIKE '%namesearch%')", $link) or die(mysql_error()); Solution Code to Below <?php $sql=...
- Wed Jun 02, 2004 12:22 pm
- Forum: PHP - Code
- Topic: Restrict webpage access via IP?
- Replies: 9
- Views: 880
- Wed Jun 02, 2004 12:11 pm
- Forum: PHP - Code
- Topic: Restrict webpage access via IP?
- Replies: 9
- Views: 880
- Wed Jun 02, 2004 11:13 am
- Forum: PHP - Code
- Topic: Restrict webpage access via IP?
- Replies: 9
- Views: 880
- Wed Jun 02, 2004 10:46 am
- Forum: PHP - Code
- Topic: Restrict webpage access via IP?
- Replies: 9
- Views: 880
- Wed Jun 02, 2004 9:07 am
- Forum: PHP - Code
- Topic: Restrict webpage access via IP?
- Replies: 9
- Views: 880
Restrict webpage access via IP?
Ok, I'm trying to restrict webpage access for some internal pages to local network users only via IP address using REMOTE_ADDR. Looking at the code below, am I going about it in the right way? Thanks! <? $ip = $_SERVERї'REMOTE_ADDR']; If($ip != 132.177) { echo 'You are not granted...
- Fri May 21, 2004 12:58 pm
- Forum: PHP - Code
- Topic: PHP error?
- Replies: 9
- Views: 718
Bingo....thanks very much...!!!! :D Guess I just needed to slow down and pay attention to the details....didn't think about what each line actually did, just cross checked it against other config/setup options in the documentation. Now for mySQL connectivity........but I'll slog thru that on my own :P
- Fri May 21, 2004 12:31 pm
- Forum: PHP - Code
- Topic: PHP error?
- Replies: 9
- Views: 718