52,566 Archived Topics
Remove Filter ![]() | |
Hi All, Im running a script that goes 3 deep on parentheses, and then needs to change database at the deepest level. Im having trouble switching to that database in an if else query. any help would be appreciated [code] function getElement1(){ $con = mysql_connect('localhost','uname','pword') or die (mysql_error()); $authenticate = … Web Development php | |
How would i upload image files to a database and then display them using [CODE] <?php $query = "SELECT * FROM members WHERE email='$username' AND id='$id'"; $result = mysql_query($query); $row = mysql_fetch_array($result); ?> <img src='<?php echo $row['pic']; ?>'> [/CODE] and also, what kind of field should i use in the … Web Development file-system image mysql php | |
hi, i am having problem in making thumbnail of video. it is not working properly here is my code plz help [CODE]$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/admin/ffmpeg'; $image=$_SERVER['DOCUMENT_ROOT'].'/admin/video/thumbs/'."$id.jpg"; $video =$_SERVER['DOCUMENT_ROOT'].'/admin/video/'."$uname"; $cmds = "$ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -s 100x90 -vcodec mjpeg -f mjpeg $image 2>&1"; exec($cmds);[/CODE] thanx in … | |
Hi All, I have a function reloaddash(1); for refresh the db.js in db.js file which sends a ajax request to the action file. In this .js itself I draw the table,td,tr for display. I dont use seperate .jsp file to draw. By onclick a link in this js file I … Web Development javascript | |
Hello everybody, As i m beginner to Jsp/Servlet.. I want to Upload a image from client side and store it in MySql database then simultaneously display it. I need it urgently can anybody send me the code....... Please,..... Thanks | |
![]() | Hi everyone, I'm naive to javascript as well as JSP. I'm involved in a project where i need to code a web page similar to shopping cart type of thing. The user selection needs to be displayed in the same page dynamically using JavaScript and then after confirmation from the … Web Development java-jsp javascript ![]() |
What stuff on a website can't be tested locally? If everything can what do I need to be able to test it? Web Development php | |
Hi everyone! My boss is using a Java program called Animal Shelter Manager, which stores all images as BLOBs (Binary Large OBjects) in the database. She needs me to put all of those pictures she has stored on the shelter's website. I look at them in the database, and they … | |
.olddiv { overflow:visible; background-color:#1D41A4; padding-right: 10px; padding-bottom: 20px; padding-left: 10px; } <div id="old" class="olddiv"> My text that overflows is visible but it does not have the div's background color. How do I get it to keep the background color? Web Development javascript | |
I'm very new with this. I need to make all of the random images below link to the same page. In other words I need to add a 'hotspot' to this script. The code below is how far I've got: [CODE]<?php $img_array = glob("images/Coupons/*.{jpg}",GLOB_BRACE); //Pick a random image from the … | |
hi, the layout of my site is. there are five files (4 are inside the includes folder): index.php , header.php , pageniavigation.php , thumbnail.php , footer.php the header file is where you select the number of images you want to be displayed per page. the pagenavigation file contains the page … | |
Hi, We just finished building our website with custom CMS, built specifically for our website. However, the CMS is not really cool nor rich, at least compared to those CMS out there. Now, I am looking for an easy to integrate open source CMS there. One that won't force us … Web Development cms open-source | |
how to deploy jsp page on the internet? pls help me. Web Development java-jsp | |
Hello, I have problem in converting the following datalist to PDF. Can anyone help me in this regard. Thanks, Rohith [CODE] <asp:DataList ID="resultdatalist" runat="server"> <ItemTemplate> <table id="listdata" bordercolor="#000033" cellspacing="1" cellpadding="1" align="center" border="2" width="610px" style="position:absolute;top:130px" > <tr> <td style="width:260px; height:27px"> <asp:Label ID="propertyname" runat="server" Text="1.PROPERTY NAME" Font-Bold="true" Font-Size="Small"></asp:Label></td><td style="width:350px"><asp:Label ID="propertynametxt" runat="server" Text='<%# … | |
Hi, I have created a system where users can follow another user, I am currently querying the table to display who is following who. I have two queries as shown below: [code=php] // followers query $query = "SELECT * FROM friends WHERE friFriend='$view'"; $result = queryMysql($query); $num = mysql_num_rows($result); // … Web Development display mysql php programming-construct | |
Hi, I'd need a function where an optional argument takes on the value of another argument when it's not specified. I'd like to be able to write: function some_fun ($a, $b, $c, $d=$b) { ... However, this is not correct PHP syntax. I'd really like it to be, and may … Web Development php | |
How would one go about having a unique forum made when user does a certain thing on a web site? On this web site I am making there are user groups and every time a group is made by a user, I want a unique forum made just for that … | |
I have a form on page 2 and I want the information submitted on the form to be sent to page 3. How do i do that? Web Development first-post javascript | |
I'm working on a script for a custom inbox to read e-mails. (We have several inboxes available to us on our hosting account but we need a custom one for a few reasons.) Today, e-mails have begun vanishing from the account -- they're not just gone from this custom inbox … | |
internet explorer shows blank page of my website im working on the website works fine on firefox but in internet explorer all im seeing is a blank page..... here is the link of the website also in local computer its not working why??? [url]http://www.deezmedia.net/dev_projects/karaoketalent/index.html[/url] thanks in advance.... here is the … Web Development html-css javascript javascript-jquery web-design | |
Hi Everyone, I have made my own forums/site which is working out quite well. The only problem I'm having is when people edit there topic or if I edit the news. The current topic or news is loaded into a textarea including all the line breaks which were instered via … Web Development php | |
I wrote this script that enables user to send a search to a library catalog and/or a group of article databases. [URL="http://unixweb.kutztown.edu/~rjens816/php/twinsaltbox.htm"]It works roughly as hoped[/URL] in IE and in Firefox, [B]but[/B] in Safari and in Chrome it refuses to send two searches simultaneously (the third button on the prompt … Web Development javascript seo web-browser | |
Hi people. I'd like to allow HTML code in my forum but I don't know how :) Would any of you explain to me how I could do it? Regards ![]() | |
Hello I’m trying to create a simple facility booking system using PHP/MYSQL for a leisure centre as part of my final year project. I’ve been looking online for the best way to do this and I can’t find anything of use. Does anyone have any idea what would be the … Web Development php | |
I create a form which use the check box to get the info from user, but don't know how to write it in php for send to my mail, did any one can help me? my html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" … | |
Hi, I am a beginner, and would like to do something like: I have a mysql table with date column. I would like to select all the rows from table, and print them out in tables. One table per month. E.g. January: ... ... ... February: ... ... ... etc. … | |
Hi All I've checked around all kinds of sites, but to be honest I'm literally just learning PHP and not a clue what people are saying. Basically all I want to do is make some fields required before the form is submitted. At the moment all it does is go … Web Development php | |
Please see php script below. When I log in, the screen goes blank and on the same /login.php web page. If I enter a wrong password, it will tell me it is wrong, and I registered and activated the user/password successfully. It is just when I login in, it doesn't … Web Development php session web-browser | |
In my Online Exam project, user creates a test, Test contains different different subjects, each and every subject having percent easy,percent medium,percent hard no of questions. Test also have total no of questions. All Subject's total no of questions must equal to Test's total no of questions. No worries if … Web Development asp.net | |
i have to make a log in form that displays a msg if the user uses the username 'letmein' if not, a msg will also be printed. But the message to be printed aren't showing. Here's my code: [CODE] <html> <head> <?php if (isset($_POST['submit'])) { $username = $_POST['username']; if ($username … Web Development php | |
I am trying to get Domain names/URLs from the title and description in ebay, but the text varies a lot. Note that the url/domain names are limited to *.com, *.net, *.info, etc. For instance, I'd have to parse through text such as: IPAD SCREEN LENS.COM 3 4 5 Letter LLLL … | |
[CODE] class test{ function load($mailID,$message){ echo $mailID; echo $mesage; } function test1($arr,$message){ foreach($arr as $mailID){ $mailID = $mailID.","; $this ->load($mailID,$message); } } }[/CODE] this is my code ... bt this is nt correct.. actually i need is function test1 get mailadresses and message for the mail.. arr is a array. … Web Development php programming-construct | |
Hi, I'm trying to display an image inside a php tag using a file path name I stored in mysql. So far not working. [CODE]<td><?php echo "<img src='images/$image'/>";?></td>[/CODE] $image is the path to mysql. I can echo the path name so I know it works there but I can't display … | |
I normally use PHP. However I am interested in learning asp as well. My question is what is a good development environment to use for my personal private development at home? Is there a free environment I can use? I am a total stranger to asp, so please forgive my … | |
Hi. I'm intrested in finding out if a client watched an entire video, and i was wondering if it is possible using JS or any other client-side language? and if not what would be the best approach? Thanks in advance, Eric Web Development javascript video | |
Hi to all again, Can anyone one help me with this? The scenario goes like this. I have this PHP script: [code] <?php $to = "email_address_here"; $subject = "SAMPLE AUTOMATIC MAIL"; $body = "Hi to Every one. Please help me with this ^^,"; if (mail($to, $subject, $body)) { echo("<p>Message successfully … Web Development php windows-server | |
Hi, I am trying to insert an image path name into mysql. I not sure how to insert the path only if the path name "image name" does not exist. Also, I get duplicate rows when uploading image path name, not sure why. Here is some code. Any suggestions would … | |
Hi again, I'm stumped. I'd like to store results from a questionnaire in a multi-dimensional session variable to tally the number of questions answered after the entire questionnaire is completed. Users choose selections from checkboxes, so I have that info coming from an array. I was hoping I could just … | |
I am trying to create a dynamic form for the first time. I need an product reservation form that allows up to 10 products to be reserved. I have line 1 done and the javascript code is working. [URL="http://ryanpartyrentals.com/nb/formtest.php"]http://ryanpartyrentals.com/nb/formtest.php[/URL] Let's call those fields Category, SubCat, SubCat2 (left to right). The … Web Development html-amp javascript | |
Hey everyone, I have been receiving an error that states that one of my variables ("$fileAmount") is undefined. I was hoping you guys might see something in my code where I am making a mistake. Please note that this is not the entire code, but where the error is occurring. … Web Development javascript | |
Hi Guys, I am trying to make a string from an array.The array structure looks like this [CODE][n3] => Array ( [0] => 2011-01-19 [1] => 2011-01-12 )[/CODE] Now if n3[0] or n3[1] is null i mean if any one value is absent then the string should look like [CODE]$str … Web Development php | |
hi All i have taken from internet script that post data with the help of AJAX and PHP below is script [CODE]<html> <head> <script type="text/javascript" src="prototype.js"></script> <script> function sendRequest() { new Ajax.Request("test.php", { method: 'post', postBody: 'name='+ $F('name'), onComplete: showResponse }); } function showResponse(req){ $('show').innerHTML= req.responseText; } </script> </head> <body> … Web Development javascript | |
Hello I am new to ASP and Access Databases really as well. I primarily use PHP and MySQL/Postgre.I work for my university in web admin department and due to rather sloppy coding in the past by workers have to rewrite an ASP form that writes to an Access DB. I … Web Development asp microsoft-access | |
I have a request form that calls an asp.net file to email request to my account. My web hosting is on GoDaddy.com. Could someone help me find why it does not work? It worked on my old hosting. Part of my form: [code] <!-- ////////////////////// FORM ///////////////////////////////////--> <form action="aspmail.asp" method="post" … | |
Hi! I don't know much about Java and I'm new to JQuery. I want to replace "+ Table" for "- Table" when the user clicks on it. For that I've used: [CODE]$(document).ready(function () { $('#table1_head').click(function () { $('#button1 a').replaceWith('- Table1'); }); });[/CODE] It worked. But I want to replace "- … Web Development javascript javascript-jquery | |
hi, basically i have this function. [code] function showDetail(checkBoxShipmentId) { xmlhttp = GetXmlHttpObject(); // this calls function below if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="detailBackend.php"; url=url+"?shipmentid="+checkBoxShipmentId; //?shipmentid = value of the checkbox, which is the shipmentid url=url+"&ran="+Math.random(); if(xmlhttp.readyState ==4) { xmlhttp.onreadystatechange= displayDetail; xmlhttp.open("GET",url,true); … Web Development javascript session xml | |
Is there any other way to get to next record without refreshing the current page in jsp. Web Development java-jsp | |
Greetings everyone. i have a number of check box's, a message text area and a submit button. Depending on what box is checked it will send the message to that email address. Here is the code for the form: [CODE] <form method="POST" name="myform" action="checked.php"> <input type="checkbox" name="emails[]" value="user1@domain.com" /> <input … |
The End.