|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
Does
PHP Code:
PHP Code:
PHP Code:
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
1) Returns half of the sql statement cutting off at $id
2) No result 3) Resource id #2 (googleing this now, so far no usefull results) Edit: Hey John thanks for all the help. I got it working. I went and got the code from an old project from back when i used tutorials (now I make the schema and try to do it all myself) the code looks simular and i still dont see what the problem was hertrs the working code PHP Code:
__________________
"I would love to change the world ...... but they won't give me the sorce code"
Last edited by zeroradius; 05-17-2008 at 09:44 AM. |
|
|||
|
I know the problem.
you used mysql_fetch_row() instead of mysql_fetch_array() mysql_fetch_row() makes an array with index numbers only, mysql_fetch_array() makes an named array with fieldnames as keys to the field information. it's simple, but hard to find in code. then, you wrote $_Get first, and now $_GET, don't know if that makes difference ... Last edited by orjan; 05-24-2008 at 09:59 AM. |
|
|||||
|
as i said in my last post i had tried array before i posted here, and the capitals in get may have made a diffrence, but i do not think it will
__________________
"I would love to change the world ...... but they won't give me the sorce code"
|
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help streamlining averaging values from separate csv spreadsheets | Natedawg1848 | C and C++ | 1 | 03-27-2008 10:21 PM |
| Best way to save lots of small values (in a database)? | Vantage | General Programming | 2 | 05-14-2007 07:57 AM |
| attribute values question | skilletsteve | HTML Programming | 1 | 09-30-2006 08:37 AM |
| Seperate values in a string | Chan | C# Programming | 4 | 07-25-2006 09:17 AM |
| Sudoku can be solved using SQL..Take a look! | roger | Database & Database Programming | 5 | 07-04-2006 02:20 PM |