Programming

1
Problem with image mouseover...simple fix?view story

http://www.codingforums.com Hi all, Javascript is totally new to me and I am very frustrated. I have been trying to put together this ebay template and it's all set except I can't get my thumbnails to show the large image when you mouseover it! I believe my problem is that I don't have the <script type="text/javascript"> or <language=javascript> tag in the beginning of the template. Problem is im not sure if that's the prob or where to put it!! I tried putting it at the top and it made it so the whole template disappeared. I've tried putting it at various diff places and it messes the whole thing up. I'm lost! Please help! Here's the listing (sorry I would post just the part where there's an issue but I can't tell where that is! :( ) (Programming)

1
Display message if nothing in database.view story

http://www.codingforums.com Hi, I've posted this before but no-one seemed to understand so I made a diagram. Okay, I have 2 database tables which look like this: http://imgur.com/YW6SE.png The code below returns the information from `offers` PHP Code: $SearchResult = mysql_query("SELECT * FROM offers WHERE catID = '$cat' LIMIT " . ($page-1)*$Limit . ",$Limit") or die(mysql_error());  while($list = mysql_fetch_array( $SearchResult )){     $oID = $list['id'];     $ofusername = $_SESSION['username']; (Programming)

1
Integrating other website's form into mineview story

http://forums.digitalpoint.com There is website in my country for sending free SMS but it is portal and it takes a long time to load. I wanted to make site where I will integrate login and form for sending sms. How to do that, when users login to my site, actually login to that portal but stays on my site to send sms? Just give me hints how to do that Here is code LOGIN BOX Code: <form name="asmpform" action="http://webauth.vip.hr/vasmpauth/ProcessLoginServlet"> <label for="UserID">Korisnicko ime:</label> <input name="UserID" class="login_username" id="login_username" type="text" /> <br /> (Programming)

1
defining constants in the configuration?view story

http://www.codingforums.com Hello everybody, I apologize if this is more of an apache question than it is a php question but I figured I'd give this a shot. So I have an apache server running multiple domains and I would like to define constants for each domain without having to explicitly include some sort of constants file at the beginning of every single file. Is there a good place to define constants so they can be accessed anywhere in a given domain? I stumbled across 'auto_prepend_file' and that seems like it'll do the trick but I won't want to prepend the same file across all domains. For example: I have /var/www/blah.com/constants.php and /var/www/foo.com/constants.php (Programming)

1
Value Of Variables Not Getting Sent, Just Namesview story

http://www.codingforums.com Hello, I am using javascript to dynamically edit a form and have run into some problems. In this excerpt of code "x" is already defined, "num" is already defined, and "eval(q)" is just pointing to the proper field in the proper form. Code: eval(q).onkeydown=function onkeydown(event)                   {                         checkLength(event,x,num,5); (Programming)

1
CSS Vertical Sprite - Active state?view story

http://www.webmasterworld.com CSS Vertical Sprite Active (Programming)

1
Parsing data from an xml fileview story

http://www.codingforums.com Hello, I'm trying to parse my data from an xml file now and print it out on the page based on date from my existing code. I have that working, with each item formatted the same way on the page What I'd like to do now is alter it a bit to make the most recent (the item listed on the top of the page) formatted differently and the rest of them as it is now. Something like - (if 1st <li> then build html like this else build html like that) I hope this makes sense. Code: <?xml version="1.0" encoding="utf-8" ?> <books>     <book title="CSS Mastery" imageurl="http://cdn.net.tutsplus.com/045_LoadXMLWithJquery/images/css.jpg"> (Programming)

1
Blocking certain words entered by user in private messages (bad word filter?)view story

http://www.codingforums.com I have a message board and i want to be able to block/fliter out certain words/numbers that members send in private messages to each other. I want to be able to turn off and on the filter/block per user not have it where the whole site is affected at once. I have a paid option for the users to upgrade to remove the word filter/block. The user upgrades and i can remove the block and none of the messages will be filtered. I know of the bad word filters but that effects the whole site at the same time. I want to be able to turn it off/on per user. Can this be done and is it difficult or easy for a coder? I am not a coder i will hire one to do this. (Programming)

1
echoing out an imageview story

http://www.codingforums.com Hello everyone! I am trying to echo out an image after inserting the image tag into the database. Right now I have it so on inserting the message, it changes the smiley, say :) into <img src="/Images/smile.gif" /> But when I echo out the message line with an image src, the text is displayed along with the <img src="/Images/smile.grif" /> instead of it being the image. How would I go about changing it so the image will show and not the image tag? I know I can use html_entity_decode and such, but I don't want <b> tags being able to be used, ect. So I wasn't sure if there is a way to just decode the image tag or something. Thanks again for your time. (Programming)