Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2007, 09:34 AM
gazneale's Avatar
Important Member
 
Join Date: Jan 2007
Posts: 145
Default Display user input (SQL)

Okay so i now have the user input sorted from the last post, but now i need it to actually display.

Example:
I have a query that asks for the CourseID, then the query brings up the averages of all the records under that ID.
Ive made a report to show this but it only shows the averages, and i could really do with it showing the course ID that was typed in as well. After all a page full of averages is pretty useless if we dont know what course it was for.

anybody?
__________________
Gareth Neale
http://www,youtube.com/30secondrice
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #2 (permalink)  
Old 09-03-2007, 09:38 AM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Gender: Male
Posts: 17,273
Default

Sorry mate now you're talking programming. Not a clue!!
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 29-03-2007, 01:20 PM
monsta's Avatar
Junior Member
 
Join Date: Mar 2007
Location: Brighton
Posts: 14
Default

What are you doing this in? PHP?

Quote:
$result = mysql_query( "YOUR QUERY HERE" ) OR DIE (mysql_error());
while ($row = mysql_fetch_array($result))
{
echo $row['CourseID'];
}
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 29-03-2007, 01:22 PM
Kelly Creative's Avatar
Who's Ya Daddy Bee-atch!
 
Join Date: Jan 2007
Location: On The Edge
Gender: Female
Posts: 3,259
Default

wow our first real coder!!!
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 29-03-2007, 01:31 PM
monsta's Avatar
Junior Member
 
Join Date: Mar 2007
Location: Brighton
Posts: 14
Default

Quote:
Originally Posted by Kelly Creative View Post
wow our first real coder!!!
Are you following me?
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 29-03-2007, 01:33 PM
Kelly Creative's Avatar
Who's Ya Daddy Bee-atch!
 
Join Date: Jan 2007
Location: On The Edge
Gender: Female
Posts: 3,259
Default

Maybe!
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #7 (permalink)  
Old 29-03-2007, 01:40 PM
monsta's Avatar
Junior Member
 
Join Date: Mar 2007
Location: Brighton
Posts: 14
Default

Quote:
Originally Posted by Kelly Creative View Post
Maybe!
Good, try and keep up though...
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #8 (permalink)  
Old 29-03-2007, 01:42 PM
Kelly Creative's Avatar
Who's Ya Daddy Bee-atch!
 
Join Date: Jan 2007
Location: On The Edge
Gender: Female
Posts: 3,259
Default

Still waiting for your introduction thread!!
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #9 (permalink)  
Old 29-03-2007, 01:52 PM
monsta's Avatar
Junior Member
 
Join Date: Mar 2007
Location: Brighton
Posts: 14
Default

Quote:
Originally Posted by Kelly Creative View Post
Still waiting for your introduction thread!!
Fair enough...

http://www.graphic-design-forum.com/...ead.php?t=1882
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Input form spnwebdesign Graphic Design and Web Design Help 13 02-03-2008 08:21 PM
Help with image display! SidekickWD Graphic Design and Web Design Help 8 13-02-2008 08:38 PM
Input fields in movieclips kate!! Flash Forum 6 23-11-2007 09:00 PM
SQL user input gazneale Programming Forum 2 07-05-2007 12:04 PM
Help on display settings Graphicallycorrect Off Topic 3 15-03-2007 01:54 PM


All times are GMT. The time now is 09:55 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5