52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sagar2dumbre

Hello i am developing a web app in JSP as front end and ms-access as back end..i hv login.jsp which contains username & password which will be validated in access database upon success user.jsp will be shown..i hv been done with jsp page design..but don't know abt database connectivity..can any1 …

Member Avatar for sagar2dumbre
0
1K
Member Avatar for arden_k

Hi All, I'm getting the following "Undefined type: ArrayList" for the following line of code "<jsp:useBean id="students" type="ArrayList<beans.UserBean>" scope="session" />" Could someone tell me what I did / didn't do the get this error and what I have to do to resolve it. Many thanks, AK

Web Development java-jsp session
Member Avatar for arden_k
0
335
Member Avatar for Mve83

hi please can someone help? I have designed an applicant form that posts data to session variables then at the end of the application it puts all session variables in an array. I then have a template.rtf file which I copy and rename to $_session['last name']_timestamp.rtf I then open for …

Web Development php session
Member Avatar for diafol
0
548
Member Avatar for 03hasnam

i am getting lots of error like this for all form inputs. i am trying to use javabeans and jsp where a jsp will be responsible for outputting the final information (cost of booking and bookingreference). The servlet needs to pass control to this JSP. this is the error which …

Web Development apache java-jsp
Member Avatar for 03hasnam
0
221
Member Avatar for suavedesign

I am not a javascript coder, but I wanted to make pop windows on my webpage, without a separate window. I followed the instructions I found here:[URL="http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/"]http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[/URL] It worked well. However, I want to make more than one popup on my webpage- I have thumbnail images that I want to …

Web Development html-css javascript
Member Avatar for stultuske
0
178
Member Avatar for chillysnow

Hi, I am using Paypal to do my payment processing, however the user authentication JSP session variables I am using are expiring during the transition from my site to paypal's then back to mine again. The result is obviously that access is denied on return and the transaction does not …

Web Development java-jsp session
Member Avatar for peter_budo
0
186
Member Avatar for anthonyjpv

Im building a simple yet robust small e commerce site what i wanna know is: is it more safe and secure to add the mysql commands such as select add update delete in the same html form or create another php file for that as a process? example: i have …

Web Development php
Member Avatar for broj1
0
87
Member Avatar for mohamedasif18

Hello Everyone ! How to split each array to own variable and display that variable separately . I got code from IP API provider to display user's location, [CODE]include 'ip2locationlite.class.php'; $ipLite = new ip2location_lite; $ipLite->setKey('c86c104532b5466bda7620b48e20b10ca53ad9070b8cc52b5a5d90a6e57b9bb3'); $locations = $ipLite->getCity($_SERVER['REMOTE_ADDR']); $errors = $ipLite->getError(); echo "<strong>First result</strong><br />\n"; echo count($locations); echo '<br><br>'; foreach …

Web Development api php
Member Avatar for diafol
0
222
Member Avatar for robjan

I developped a cms system to upload images with php to a mysql database and a upload folder on the server. Firefox version 5.0.1 for MAC and earlier have no problems with file uploading through the script. But after that version it is impossible to upload images bigger then 250kb. …

Web Development cms html-css php
Member Avatar for robjan
0
204
Member Avatar for vijaykavin10

Hi I need to set the filter in imap_search the condition is filter should take the yesterdays date dynamically $gmail = imap_search($inbox,"[COLOR="Green"]ON 01-01-2012"[/COLOR]); Thanks

Web Development php
Member Avatar for vijaykavin10
0
259
Member Avatar for lovelylaya

Hi guys, I tried installing the joomla 1.5.22 version using XAMPP. Can someone send me a link that works. In the tutorial i was asked to create a mysql database (name: joomla) and which when executed showed numerous errors. Kindly guide

Web Development php
Member Avatar for lovelylaya
0
178
Member Avatar for hhall56

Thank you pritaeas for prior assistance. I have another problem for someone. My query complains with this message "query was empty" and I can't undetstand why. Need help please see code below. <?php $db="freedomone"; $link = mysql_connect(""); if (!$link) die("Couldn't connect to MySQL"); mysql_select_db($db , $link) or die("Couldn't open $db: …

Web Development php
Member Avatar for facarroll
0
202
Member Avatar for Dante2

ok, so here's the deal. Going over the Rails tutorial. We're running a testing environment to make sure that the things we want showing up on our pages are making it. Doing this using pages_controller_spec.rb file. And this is one of three arguments that we passed: [ICODE]describe "GET 'home'" do …

Web Development ruby windows-vista
Member Avatar for Dante2
0
137
Member Avatar for smohhh

Hey all, I'm having a horrible time with a multidimensional array that I'm trying to create. I understand why it's creating it the way that it is, but don't know how I can fix it. If someone can assist, that would be amazing. Here's the current output: [code] Array ( …

Web Development php
Member Avatar for cereal
0
250
Member Avatar for lolimsoasd

Hello, I'm trying to make a facebook wall-alike php script. It loads the posts stuff, photo url and user stuff like username and user id from my MySQL database. It also checks if the post is just a comment to another post (parentof). I can present all the original posts …

Web Development php social-media
Member Avatar for diafol
0
874
Member Avatar for klemme

Hi all, I want to replace these charachters: Æ,Ø,Ã…,æ,ø,Ã¥, with, AE,OE,AA,ae,oe,aa I thoght I could use preg_replae this way to accomplish that, but if i write this word in the form: "Bælter" - All that is left to be inserted into the DB is "B" - So I am removing …

Web Development php regex
Member Avatar for klemme
0
186
Member Avatar for stephen_UK

Hi, I am very much a js novice, and trying to follow a tutorial that plots markers on top of Ordnance Survey map. The code used works in part by loading the map, but the markers it loads from a locations_complete.xml file do not show, and no error message is …

Member Avatar for stephen_UK
0
232
Member Avatar for ceteris

[CODE]$result = mysql_query("SELECT * FROM products WHERE product_code='$id'");[/CODE] i dont know whats the error here. please help me

Web Development php
Member Avatar for ceteris
0
100
Member Avatar for Ashstyx

hello, i would like to know the code to redirect my site to another page once i have submitted information to a registration page, the code i have is this: require_once('extensions/register.php'); ?> <link rel="stylesheet" href="stylee.css" type="text/css" /> <form name="register" id="register" method="post" action="<?php echo $_SERVER['PHP_SELF'];?>" style="display:inline;"> <table width="100%" border="1" cellspacing="0" cellpadding="5"> …

Web Development html-css php
Member Avatar for diafol
0
226
Member Avatar for Akshat Chawla

I have a webpage in which the records of student are being displayed which are stored in database there are many modules.I have to fetch the data from the database and display the graph according to their numbers that are stored in the database ... the graph is of any …

Web Development php
Member Avatar for diafol
0
158
Member Avatar for 21122012

It is supposed to list out all records of roomID 57, but the record is duplicate. <?php require '../../source/authentication.inc'; session_start(); sessionAuthenticate(); require_once('../../config/conn.php'); ?> <?php require_once('../../config/conn.php'); $roomID=$_GET['roomID']; $sql="SELECT * FROM roomBooking where roomID = '$roomID'"; $rs=mysql_query($sql,$conn); $row_rs = mysql_fetch_assoc($rs); $count=mysql_num_rows($rs); $roomID=$row_rs['roomID']; $bookingDate=$row_rs['bookingDate']; $startTime=$row_rs['startTime']; $endTime=$row_rs['endTime']; $numberOfPeople=$row_rs['numberOfPeople']; ?> <!DOCTYPE HTML> <html> <head> <meta …

Web Development html-css php
Member Avatar for pritaeas
0
211
Member Avatar for PF2G

Hi, I'm having some problem with this code: [CODE]<?PHP include 'topo.php'; include 'db_connect.php'; ?> <table> <tr> <td id="navigation-block"> <img src="background.jpg" id="hide" /> <ul id="sliding-navigation"> <?PHP $sql = "SELECT * FROM cursos"; $query = mysql_query($sql,$connect); while ($row = mysql_fetch_array($query)) { ?> <li class="sliding-element"><a href="prog_curso.php?cod= <?PHP echo $row['cod_curso']; ?> "> <?PHP echo …

Web Development php
Member Avatar for broj1
0
125
Member Avatar for Martin C++

Hello, I need to submit a form as soon as selection has been changed and call PHP function. I know I can do this with onchange="this.form.submit(); but this will generate an url similar to this: [CODE=PHP]?submit_position=change[/CODE] while I need to generate something like this: [CODE=PHP]?p=edit-product.php&action=change_pos&id=$id[/CODE] This is what my form …

Web Development javascript php
Member Avatar for broj1
0
482
Member Avatar for showman13

Good afternoon, I don't know if I just can't do this, or if I can, and I have it structured incorrectly. What I'm trying to to is to generate a member table from a couple of imported excel spreadsheets. To create the member records, I must assign a 'Username' for …

Web Development php
Member Avatar for showman13
0
65
Member Avatar for PF2G

Hi, I'm doing a page with the info of the user. For exemple i log in if i want to change my information i click on this page. But something is wrong: [CODE]<?PHP include 'topo.php'; include ('db_connect.php'); $sql="SELECT username, password, nome_aluno, data_nascimento, morada_aluno, cp_aluno, telemovel_aluno,email_aluno,nome_ee,morada_ee,cp_ee,telemovel_ee,email_ee FROM alunos WHERE username='". $_SESSION['username'] …

Web Development php
Member Avatar for PF2G
0
315
Member Avatar for shadab550

sir i a student of 4th year i need some help in my project i m creating a online quiz 30 question and each question have 6 options which are check boxes and question have more then 1 ans so ,i ll select more then one check box so that …

Web Development java-jsp
Member Avatar for shadab550
0
252
Member Avatar for PF2G

Hi, I'm trying to do a table that shows all the news: [CODE]<?PHP include "db_connect.php"; $sql_destaque = "SELECT data_destaque, imagem_destaque, descricao_destaque FROM destaques ORDER BY cod_destaque ASC"; $executa=mysql_query($sql_destaque,$connect); $dados = array(); while ($linha = mysql_fetch_array($executa)) $dados[] = $linha; mysql_free_result($executa); function add_imglink($linha) { echo '<td align="center">'; echo $linha['data_destaque']."<br/>".$linha['descricao_destaque']; echo '<img src="', …

Web Development php
Member Avatar for diafol
0
267
Member Avatar for akshit

hi guys. i hav this drop down menu, which i need to populate with data from one column of a particular table of MySQL dbase. i hav read a lot on this, but have not been able to come up wid any code. any and all help in this regard …

Web Development mysql php
Member Avatar for jgilliam
0
2K
Member Avatar for ohgosh

ive a dynamic dropdownlist, which items are retrieved frm db. but when i select an item from the dropdownlist, the item does not stay selected instead the dropdownlist make a postback and stay as default value. wad shd i do? is there any mtd to get d value selected? THANK …

Web Development asp sql
Member Avatar for Sandy Patil
0
301
Member Avatar for arunpawar

Hi, I was writing the code for the class to test passing of values. Here's my code. [CODE] <?php class demo{ public function setMynum($a,$b){ $varA=$a; $varB=$b; return $varA; return $varB; } } $obj=new demo; echo $obj->setMynum(12,13); ?>[/CODE] Output is 12. What is wrong with the code? I guess i have …

Web Development php
Member Avatar for veedeoo
0
278
Member Avatar for cip6791

Hello, I want to create a favorites option for something I am working on. I have two tables. The main table where the posts are kept called "place". [CODE]+---------+--------------+------+-----+-------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------+--------------+------+-----+-------------------+----------------+ | id | int(11) | NO | …

Web Development mysql php php-codeigniter
Member Avatar for cip6791
0
93
Member Avatar for evilguyme

Hey guys i have yet another problem. i would like to know how i can display my mySQL database results on a webpage in a certain layout. i want it like .. lemme just upload a picture.. it is attached. i want to display that layout for every row there …

Web Development php
Member Avatar for broj1
0
114
Member Avatar for anthonyjpv

Hi Im new to php programming as part of my academics, Im building an e-commerce website can you give me some tips on how to build robust site?

Web Development php
Member Avatar for diafol
0
321
Member Avatar for deucalion0

Hey guys, I am creatiing a website where I need a sidebar with different links, each link will open a different version of the product page, only the content part will be different. I want to know how I can change the content part of the product part depending on …

Web Development php
Member Avatar for diafol
0
130
Member Avatar for shielaolid

[CODE]<?php // if there are any errors, display them if ($error != '') { echo '<div style="padding:4px; border:1px solid red; color:red;">'.$error.'</div>'; } ?> <form action="" method="post"> <input type="hidden" name="id" value="<?php echo $employee no; ?>"/> <div> <p><strong>ID:</strong> <?php echo $employee no; ?></p> <strong>Month: *</strong> <input type="text" name="firstname" value="<?php echo $month; ?>"/><br/> …

Web Development php
Member Avatar for shielaolid
0
1K
Member Avatar for issaru07

i actually trying to run 2 select queries and get user id from members3 table and productid, title,price, categoryname and img from product4 tables. i quite noob in php so not too sure whats went wrong. there is no error msg show just that my database data only have userid …

Web Development php
Member Avatar for issaru07
0
158
Member Avatar for JACOBKELL

I have following code which check does targeted word exits in sentence and it's working. [CODE] $text = "blablavalueblabla"; $word = "value"; $pos = strpos($text, $word); if ($pos === false) { echo "You word is found in this sentence"; } else { echo "Your word it's not found in this …

Web Development php
Member Avatar for diafol
0
8K
Member Avatar for dijjio

Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the …

Member Avatar for dijjio
0
134
Member Avatar for Martin C++

Hello, I need to get two get functions from url, but I cant get the second one, how can I do it ? Something like this: [CODE=PHP] <h4><a href='?p=edit-page.php?page=$id'>$title</a></h4> [/CODE] The p will include the edit-page.php in my container which is just list of page titles and when I click …

Web Development php
Member Avatar for Martin C++
0
107
Member Avatar for untruth

There is one table that have fields included the add row button. I am using onchange event to call data from other tables, so when I select an option in the option box can automatically get the value that has been selected earlier ([B]do not need input the value manually[/B]). …

Web Development javascript
Member Avatar for untruth
0
195
Member Avatar for hallianonline

hello I have a form which have 5 drop down boxes which contains the initial values now this is my database I want to make a search result page in php which displays a single record with have following validations: [LIST=1] [*]if all options (college, class, rollnumber, student_name, section) vaules …

Web Development php
Member Avatar for mohamedasif18
0
141
Member Avatar for karthik_ppts

Hi Frendz, I need a solution to stop an embed youtube video at a particular timestamp. Any possible way to do this?

Web Development php streaming-service video
Member Avatar for karthik_ppts
0
406
Member Avatar for shireesha1

hello people, I am working on a asp.net project using c# where i need display 1 or more tabs on a web page based on selection of item from drop down list.I am planning to use multiview menu control to give a feel of tabs on web page. can you …

Web Development asp.net
Member Avatar for partha.asp
0
1K
Member Avatar for pinkygirl
Member Avatar for partha.asp
0
364
Member Avatar for ceteris

[B]i dont know why i am having an error in [B]header[/B] Warning: Cannot modify header information - headers already sent by (output started at delete.php on line 13[/B] [B]delete.php [/B] [CODE]<?php include("db.php"); $id =$_REQUEST['BookID']; // sending query mysql_query("DELETE FROM books WHERE BookID = '$id'") or die(mysql_error()); header("Location: index.php"); ?> [/CODE] …

Web Development php
Member Avatar for anthonyjpv
0
206
Member Avatar for EBS.VivekGupta

Hi, I am working over a ASP .NET application and SQL server database. The databases i m using is huge and takes time while updating or generating report by my ASP .NET application. As the reporting and updating require some calculation, if the user presses ESC button or Back button …

Web Development asp asp.net javascript
Member Avatar for EBS.VivekGupta
0
182
Member Avatar for Commando112

Hi, This is my version of a user script. panel.php (Logged in Page) [CODE=PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <? session_start(); if(!session_is_registered(myusername)){ header("location:index.php"); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>C&amp;C-Relived Control Panel</title> </head> <body> <span style="color: #FFF">Login Successful</span> <form name="form1" method="post" action="logout.php"> <input type="submit" …

Web Development display html-amp php
Member Avatar for Zagga
0
92
Member Avatar for stanley87

Hi,guys,morning to all :) I have face 1 situation, i already built an api using the rest method, and all my response data will be return in html data when i call the api, i testing on the same server using the jquery working fine, when i use on another …

Member Avatar for stanley87
0
341
Member Avatar for abhishek2301

Hi, This is a very known problem with lot of solutions in many forums but none of them works for me. A simple code to load a jpeg image as follows: [code=php] <html> <?php $im = @imagecreatefromjpeg("/home/public_html/MyPic.jpg"); header ("Content-Type: image/jpeg"); imagejpeg($im, NULL, 75); imagedestroy($im); ?> <head> <title> My First PHP …

Web Development client-server php
Member Avatar for diafol
0
455
Member Avatar for haribo83

Thi si probably a really simple thing to solve but I am failry new to PHP and cannot find the answer anywhere. I have a search results page that calls data from a MYSQL database. All of the correct information is displaying but one of the fields contains text on …

Web Development mysql php
Member Avatar for nishchal_619
0
4K

The End.