| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| The original NP Emo Kid Join Date: Jan 2005 Location: Plymouth, UK
Posts: 1,693
![]() ![]() ![]() ![]() ![]() ![]() | would this...php/mysql questionPHP Code:
__________________ Gaming On Linux - Because Linux is Fun! |
| |
| | #3 (permalink) |
| NamePros Member Join Date: Nov 2003 Location: Ontario, Canada
Posts: 127
![]() ![]() | I don't think it does what you are looking for. That will always return a 1, because the SQL is going to return 1 row: "Count" that counts all the records where `topic_id` = '".$_GET['topic']. You can do 1 of 2 things change the code to : PHP Code: PHP Code: |
| |
| | #4 (permalink) |
| NamePros Regular Join Date: Oct 2003 Location: Sweden
Posts: 395
![]() ![]() | PHP Code: |
| |
| | THREAD STARTER #5 (permalink) |
| The original NP Emo Kid Join Date: Jan 2005 Location: Plymouth, UK
Posts: 1,693
![]() ![]() ![]() ![]() ![]() ![]() | i have done this and it works fine now; PHP Code:
__________________ Gaming On Linux - Because Linux is Fun! |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| little question.. | khkhan | Domain Appraisals | 2 | 11-20-2004 05:28 AM |
| two-letter .com domain question | questioning | Domain Name Discussion | 1 | 10-05-2004 05:08 PM |
| Simple PHP/MySQL question | dcmginc | Programming | 8 | 10-02-2004 04:34 AM |
| PHP/MySQL question | QBert | Programming | 1 | 10-01-2004 04:22 AM |
| OScommerce Loaded question | geoffd3 | Programming | 1 | 03-01-2004 08:35 AM |