May 12th, 2006, 10:59 PM
#1
Thread Starter
Hyperactive Member
sequel problem
I noticed,, since the code is recycled, that there were "int" and "Cint" wrapping the "request":
Code:
chapter = request("chapter")
title = request("title")
subtitle = request("subtitle")
I might as well send the code as attachment. I think it's a numerical problem which I can't figure:
Attached Files
Last edited by gilgalbiblewhee; May 13th, 2006 at 01:14 AM .
May 13th, 2006, 05:14 AM
#2
May 13th, 2006, 05:30 AM
#3
Thread Starter
Hyperactive Member
Re: sequel problem
why do I get an empty field?
Code:
Select title, chapter FROM scarletandthebeast WHERE chapter = ''
I might have to do with the field being treated as a number in the coding. It might be necessary to remove the function. I won't have the time to look at it right now. But am I right?
May 13th, 2006, 06:51 AM
#4
Re: sequel problem
If chapter is not a text datatype - such as CHAR() or VARCHAR() - but is instead a numeric - such as INT then
Select title, chapter FROM scarletandthebeast WHERE chapter = 0
would be appropriate.
btw - it might be pronounced SEQUEL, but it is written as SQL
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width