52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for whiteyoh

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
Member Avatar for whiteyoh
0
108
Member Avatar for tcollins412

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
Member Avatar for Shanti C
0
95
Member Avatar for saadi06

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 …

Web Development php video
Member Avatar for saadi06
0
89
Member Avatar for anandhikrishnan

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
Member Avatar for Shanti C
0
310
Member Avatar for aksahoo17

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

Web Development display image java-jsp
Member Avatar for jahanruhi3@gmai
0
183
Member Avatar for rakhi4110

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
Member Avatar for rakhi4110
0
138
Member Avatar for skald89

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
Member Avatar for mschroeder
0
124
Member Avatar for Huiliam

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 …

Web Development image php
Member Avatar for Huiliam
0
173
Member Avatar for skald89

.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
Member Avatar for skald89
0
84
Member Avatar for Marty1963

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 …

Web Development image php
Member Avatar for Marty1963
0
602
Member Avatar for ellenski

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 …

Web Development display html-css php
Member Avatar for madCoder
0
202
Member Avatar for crazycat503

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
Member Avatar for The5sisters
0
153
Member Avatar for bantipatel
Member Avatar for 1arunseo
0
85
Member Avatar for Rohith Reddy

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='<%# …

Web Development asp.net pdf
Member Avatar for Rohith Reddy
0
269
Member Avatar for AdriftUniform

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); // …

0
114
Member Avatar for miketurpin

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
Member Avatar for miketurpin
0
252
Member Avatar for Blazar

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 …

Web Development php phpbb
Member Avatar for Blazar
0
97
Member Avatar for skald89

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
Member Avatar for skald89
0
110
Member Avatar for bwallace

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 …

Web Development cpanel php
Member Avatar for chrishea
0
150
Member Avatar for m-hrt

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 …

Member Avatar for SolidSolutions
0
217
Member Avatar for BlueCharge

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
Member Avatar for Borzoi
0
108
Member Avatar for Ryujin

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
Member Avatar for Ryujin
0
289
Member Avatar for Skrljutak

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

Web Development html-css php
Member Avatar for diafol
0
377
Member Avatar for VikkiC

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
Member Avatar for VikkiC
0
745
Member Avatar for shuipint

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" …

Web Development email php
Member Avatar for shuipint
0
173
Member Avatar for grandfso

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. …

Web Development php sql
Member Avatar for pritaeas
0
117
Member Avatar for kunalch

php stands for hypertext preprocessor....

Web Development php
Member Avatar for Gants
0
101
Member Avatar for jonnafun

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
Member Avatar for Gants
0
90
Member Avatar for emen24

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
Member Avatar for emen24
0
115
Member Avatar for Nitin Daphale

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
Member Avatar for Nitin Daphale
0
216
Member Avatar for abelingaw

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
Member Avatar for dietdew12z
0
100
Member Avatar for jrhitokiri

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 …

Web Development ipad php regex
Member Avatar for jrhitokiri
0
127
Member Avatar for Kadafiz

[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
Member Avatar for Kadafiz
0
169
Member Avatar for phpDave

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 …

Web Development display php
Member Avatar for phpDave
0
112
Member Avatar for fuston05

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 …

Web Development asp asp.net
Member Avatar for fuston05
0
72
Member Avatar for EricIskhakov

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
Member Avatar for Wraithmanilian
0
95
Member Avatar for lyrico

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
Member Avatar for lyrico
0
2K
Member Avatar for phpDave

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 …

Web Development mysql php
Member Avatar for phpDave
0
167
Member Avatar for concordia

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 …

Web Development php session
Member Avatar for keyroche
0
2K
Member Avatar for tcollins412

ok, so i am writing a program for my client. i have a thing where they can view all of their clients. I have it listed where their clients names are listed. How do i make it so when they click on thir clients names, it calls their id from …

Web Development php
Member Avatar for lyrico
0
76
Member Avatar for NickBogi

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
Member Avatar for Airshow
0
174
Member Avatar for winky

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
Member Avatar for Airshow
0
81
Member Avatar for prithvi.web

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
Member Avatar for prithvi.web
0
106
Member Avatar for azegurb

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
Member Avatar for scrappedcola
0
102
Member Avatar for JKemp

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
Member Avatar for ArtistScope
0
476
Member Avatar for newlearner2008

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" …

Web Development asp asp.net
Member Avatar for ArtistScope
0
213
Member Avatar for Hawkeye Python

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
Member Avatar for Hawkeye Python
0
193
Member Avatar for k2k

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
Member Avatar for Airshow
0
638
Member Avatar for program_vission

Is there any other way to get to next record without refreshing the current page in jsp.

Web Development java-jsp
Member Avatar for program_vission
0
64
Member Avatar for dragostone

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 …

Web Development email php
Member Avatar for dragostone
0
860

The End.