52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for branding4you

I have table in mysql, have values in row i want when page loads the highest value is alwyas the selected one. Im using two queries first one pulls the top value and adds it to box then it populates the rest, so it shows this top value twice, is …

Web Development php
Member Avatar for branding4you
0
265
Member Avatar for veledrom

Hi, I want to buy a Codeigniter book to learn its framework and develop PHP applications with it. I've been using PHP about 4 years but never used any kind of framework before. Which one of these books would be good for me to get staring: [URL="http://www.amazon.co.uk/CodeIgniter-Professional-Development-Adam-Griffith/dp/1849510903/ref=sr_1_1?s=books&ie=UTF8&qid=1304357639&sr=1-1"]CodeIgniter 1.7 Professional Development[/URL] …

Web Development php
Member Avatar for veledrom
0
199
Member Avatar for niel1826

Anyone Can Help Me?.. I really don't know how to save all values of grid view in database that are checked in grid view, i hope anyone can help me?.. this is really help to finish my project in school. Thanks.!

Web Development asp.net vb.net
Member Avatar for shakeb@techwave
0
513
Member Avatar for Shantanu88d

Hi, I have rowcommand function, in which i m obtaining sr_no as datakey from a link button. now i want to know which row was that. How to get row index this way ?

Web Development asp.net
Member Avatar for shakeb@techwave
0
280
Member Avatar for virendra_sharma

Hi , i am getting syntax error in INSERT INTO statement. getting this error on cmdobj.ExecuteNonQuery(); [CODE]string connectionstring = @"Provider=Microsoft.ACE.OLEDB.12.0; Data Source=D:\website\AddContact.xlsx; Extended Properties=""Excel 8.0;HDR=Yes"";"; OleDbConnection conobj = new OleDbConnection(connectionstring); string Query = "INSERT INTO [Sheet1$](Fname, LName,PhoneNo,Email-ID) values (" + TextBox4.Text + ",'" + TextBox1.Text + "','" + TextBox2.Text + …

Web Development asp.net open-source
Member Avatar for shakeb@techwave
0
287
Member Avatar for v_sriram

Hi Everyone, I am trying to write a string variable containing XML in the form of text into an iframe such that it shows up as formatted XML with the expand(+) and collapse (-) options that default in IE when opening an XML file. The first thing I tried is …

Web Development javascript vbscript xml
Member Avatar for v_sriram
0
734
Member Avatar for Tehim

I was just wondering if it can or not. Otherwise wouldn't this code work great for stopping SQL injection? [code=php] $some_post = addslashes($_POST['some_post']); if (!ctype_alnum($some_post)) { //error } else { //all good } [/code]

Web Development php sql
Member Avatar for diafol
0
366
Member Avatar for vivekchandra

i notice a thing about header function in php.....sometimes we used it as 1.header("Content-type: $contenttype"); //i saw this in a dynamic page 2.header("Content-type: $image/png"); //saw this in a captcha create page 3.header("location:bird.php"); // this one i understand 4.header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-cache"); header("Pragma: no-cache"); //saw these …

Web Development php
Member Avatar for almostbob
0
122
Member Avatar for lovell_82

Hi there, I'm trying to setup a website with a database. I want my php code to create the database and then input the data into it, however a get the error on my register page: Warning: mysql_connect() [function.mysql-connect]: Access denied for user '*****' (using password: YES) in /fg_membersite.php on …

Web Development html-css php xml
Member Avatar for diafol
0
539
Member Avatar for lovell_82

I'm trying to write php code to access my sql database. pretty new at this and was wondering for my hostname and username and that, do i prefix the web address to the username and password or what is it? I geta error saying my credentials are not correct. Can …

Web Development cpanel php
Member Avatar for lovell_82
0
143
Member Avatar for genzoman

I have an array of list boxes. I need them to become disabled if the first one is checked (with an id of disabler_0), and I need them to be enabled if that box is unchecked. Right now it doesn't work. I know I'm close, but I can't figure it …

Web Development javascript javascript-jquery
Member Avatar for twiss
0
161
Member Avatar for arshadshaikh

I have downloaded files from [url]http://sergey89.ru/files/ffmpeg-php-win32-all.zip[/url]. I add four files in c:\\windows\system32\ folder these files are : avcodec-51.dll, avformat-51.dll, avutil-49.dll and pthreadGC2.dll. And one file php_ffmpeg.dll i add in \xampp\php\ext\ folder. After restarting system and server i get following error: --------------------------- Warning --------------------------- PHP Startup: ffmpeg: Unable to initialize module …

Web Development api microsoft php windows-api
Member Avatar for twiss
0
907
Member Avatar for abhi10kumar

I am printing checkbox's value on combobox value using AJAX, but showing undefined. First time it ok, but When checkbox is clicked then value is set to be off, showing undefined. Here is the code. [B]Checkbox[/B] [CODE]<input type="checkbox" name="course_inactive" value="off" id="course_inactive" onclick="check(this.value); value2(this.value)">[/CODE] [B]Combobox[/B] <div style="float:right; height: 26px; padding-top:2px;" id="div_courses"> …

Web Development php
Member Avatar for twiss
0
167
Member Avatar for manraj82

I have got a grid[Grid1] that build its data when a button[search] is clicked, I managed to Ajaxify it by placing it in an UpdatePanel. Before Ajaxifying Grid 1, the grid used to populate another grid[Grid2] and some other controls[Text and Labels] when a row in Grid 1 was clicked …

Web Development asp.net javascript
0
133
Member Avatar for foxwizzy

[CODE]<?php require_once('Connections/TSFH.php'); ?> <?php // *** Validate request to login to this site. if (!isset($_SESSION)) { session_start(); } $loginFormAction = $_SERVER['PHP_SELF']; if (isset($_GET['accesscheck'])) { $_SESSION['PrevUrl'] = $_GET['accesscheck']; } if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $password=$_POST['password']; $MM_fldUserAuthorization = "aclevel"; $MM_redirectLoginSuccess = "/users/" . $loginUsername . "index.php"; $MM_redirectLoginFailed = "/login.php"; $MM_redirecttoReferrer = false; mysql_select_db($database_TSFH, …

Web Development php session
Member Avatar for codewall
0
152
Member Avatar for rhiang1984

i am wondering where i am going wrong, i have a uploader image in php and html, it all works as in it goes into the set folder, but i have a problem, because i want the program to do the folder then do another folder inside,as in using the …

Web Development file-system image php
Member Avatar for codewall
0
959
Member Avatar for Nybuler

Greeting to all :) i wanted to store a selected option in to mysql database My senior said must in this format" option 1 option 2 option 3 I was stuck with this couple hours ago! i have think of nl2br but i'm not familiar with it Can anyone help? …

Web Development php sql
Member Avatar for Nybuler
0
415
Member Avatar for manoj_582033

Hi Fiends I am using file Uploader in my form , & trying to save resumes on my server address, i have a folder (resme) which is on server side & now I want to save resumes on that folder i am using server.mappath nut it's not working ,it's giving …

Web Development asp.net
Member Avatar for Sarama2030
0
213
Member Avatar for techsavi

I downloaded the php. MySQL and the apache but, I am facing a problem in which the code is being displayed and not the web page. There must be a configuration problem. Any help would be much appreciated.

Web Development apache client-server mysql php
Member Avatar for sainigks
0
281
Member Avatar for rb1234567

How do you [B]click[/B] on a [B]caleneder [/B]and it takes you to another page and how can you [B]click a button [/B]to [B]link[/B] you to a [B]database[/B] on another page where you can [B]add, update [/B]and etc things like bookings. Code please would help and your source of where you …

Web Development asp.net
0
90
Member Avatar for gsting_88

Here are the picture.. [IMG]http://img830.imageshack.us/img830/6774/chequea.jpg[/IMG] [CODE]<jsp:useBean id="chequeStopBean" scope="session" class="my.com.infopro.ibank.ui.bean.ChequeStopBean"/> <jsp:useBean id="labelBean" scope="session" class="my.com.infopro.ibank.ui.bean.LabelBean"/> <jsp:useBean id="lang" scope="session" class="my.com.infopro.ibank.ui.bean.LanguageBean" /> <%@ page language="java" import = "java.util.*" errorPage="" %> <%@ page import="my.com.infopro.ibank.dto.ChequeDTO"%> <% request.getSession(true); String contextPath = request.getContextPath(); chequeStopBean.queryAccList(); //RequestDispatcher dispatcher = null; %> <html> <head> <title><%=labelBean.getLabel("STOP_CHEQUE")%></title> <meta HTTP-EQUIV="Pragma" content="no-cache"> <meta HTTP-EQUIV="Expires" content="-1"> …

Member Avatar for gsting_88
0
273
Member Avatar for prem2

Dear team, "ajax" is not supporting for cross-domain compatibility.I want to implement cross-domain compatibility.Did any one know new technology or technique to implement the cross-domain compatibility. Thank you, With Regards, Prem

Web Development javascript
Member Avatar for Airshow
0
191
Member Avatar for tkapadia1102

Hii, I am new to PHP world. I need to convert the video files into flv format. I am having a problem in the code. Its not working. I dont know whats the problem. It gives error " Parse error: parse error in \script\uploadvideopro.php on line 63 " Here is …

Web Development php video
Member Avatar for diafol
0
181
Member Avatar for chris evans

Hi Guys! Been away for sometime but im back now. Im working on a website on ASP.NET. I have trouble with fitting pages within the browser window i.e i have to scroll horizontally to view all the content on the pages. At first i thought it had to do with …

Web Development asp asp.net
Member Avatar for sgt_toasty
0
181
Member Avatar for cuonic

Hi, I am creating a script to show stock information, but the images showing the price difference (down and up arrows) are not appearing in page or in source. They do exist on the server and the src url is correct, so I think it is a PHP problem. Here …

Web Development php
Member Avatar for cuonic
0
106
Member Avatar for mpc123

Hi If somebody can point me in the right direction for what i require that would be great. I will give an example rather than exactly what i require just to make it simplier to get the information across 1.I have a csv file which has around 400 rows in …

Web Development php
Member Avatar for mpc123
0
119
Member Avatar for AMADH

Hello, I have a query, that I am trying to have a conditional statement for a variable that I will pass into the query. If I use one of the conditions it works, but if I try both I can't get it to work. I would appreciate any help. Thanks, …

Web Development php sql
Member Avatar for AMADH
0
126
Member Avatar for -==Zero==-

Hover On Facebook To See It [url]http://www.ennaharonline.com/ar/[/url] I Wish Anyone Get It Plz

Web Development javascript
Member Avatar for twiss
0
97
Member Avatar for newbie14

Dear All, I have a page at this link [url]http://183.78.169.54/v3/addTab.php[/url]. The problem now if you click on the Driver Employment tab and press Add button at the bottom the content will change to Driver Details. But the tab Driver Employment is still highlighted not the Driver Details. Below is the …

Web Development javascript php
Member Avatar for newbie14
0
124
Member Avatar for sainigks

Dear all i have created a from to receive data from users. and data will store in sql table. all is going well. BUT NOW i have installed a module so users can type in Hindi fonts to fill details in form. when users will type data in hindi font …

Web Development php sql
Member Avatar for bibleaudio
0
2K
Member Avatar for klemme

Hi, I have found a REALLY simple contact form, which i am trying to mail to my own email for testing. But I havent tried this before so i am not sure how to set it up. Hope someone can help me out! I get this error: [CODE] ( ! …

Web Development client-server email php
Member Avatar for tiggsy
0
200
Member Avatar for dyingatmidnight

Hello I'm have this idea for a part of the database I'm building but my javascript knowledge is lacking entirely (I'm a software engineering student and we touched on javascript once and I barely remember anything we did). I have a form where a user is entering the details for …

Web Development engineering javascript
Member Avatar for twiss
0
112
Member Avatar for scoobie

Hi, i was wondering if anyone can help me. i am new to php and was wondering if it was possible to embed javascript in php. i was trying to get an alert/msg box up to explain an error to the user. i have written the following code <?php ............. …

Web Development email java javascript php
Member Avatar for shridharshenoy
0
647
Member Avatar for kimpham

Hi All, I have the hidden field defined as: <form method="post" name="userform" id="userform"><input <input type="hidden" id="movieIdHidden" name="movieIdHidden"></input> .... When the form is reload I set this field as document.userform.movieIdHidden.value=1000; In the JSP I read this value as: string strmovie3 = request.getParameter("movieIdHidden"); // convert to int int movie3 = parseInt(strmovie3 ); …

Web Development java-jsp
Member Avatar for masijade
0
121
Member Avatar for karthik_ppts

how to add circle marker on google map by giving latitude,longitude and radius in KM?

Web Development google php seo
Member Avatar for karthik_ppts
0
245
Member Avatar for manish250

hello all I am having a problem when i download the files from the browser there are 2 blank lines on top and 2 blank lines in the last.while in the original file on the system there is no blank line.Code is as follows Thanks in advance [CODE]<jsp:useBean id="campaign" class="com.cellebrum.campaginManager.hourlyMIS" …

Web Development file-system java-jsp
0
121
Member Avatar for minart

Hi, I've seen similar problems to this posted here but nothing exactly the same so apologies if this question is repeated elswehere... I've got PHP/HTML page which shows a table of users and their e-mail addresses, retrieved from a MySQL DB. Part of the code builds the e-mail addresses returned …

Web Development php
Member Avatar for minart
0
160
Member Avatar for klemme

Hi all, I have installed Tinymce on my textareas, which are working fine. I have more than one textarea, and the Tinymce attaches itself on ALL textareas, where I only need it to display on one. It starts like this, and logically it will show on textareas, anyone who knows …

Web Development php
Member Avatar for vibhaJ
0
221
Member Avatar for begueradj

Hello people I used TinyMCE for my "textarea" inputs. When I display that text the colors of TinyMCE don't work meanwhile my script works fine, including other features of TinyMCE who work fine also (such as Bold, Italic fonts ...etc) Only colors don't work, I just add that similar script …

Web Development display php
Member Avatar for vibhaJ
0
119
Member Avatar for rotten69

Hey all, I'm just hoping to receive great help from you people.. I'm tryin to fix my PHP coding and it looks good,but the server says that a particular line is broken.. [CODE] <?php $hd = fopen('content.txt', 'r'); $line = fgets($hd); $content = array(); while($line) { $word = explode(',', $line); …

Web Development php
Member Avatar for vibhaJ
0
91
Member Avatar for ben.matthews18

Hi, I have a contact form which is laid out like the following; [CODE]<form id="form1" name="form1" method="post" action="send.php"> <table width="362" border="0" align="center" class="tbltxt"> <tr> <td height="30" colspan="2" style="color:#174AA8; text-decoration:underline;"><b>Send us a message!</b></td> </tr> <tr> <td width="95" height="30"><label for="Name">Name</label></td> <td width="257"height="30"><input name="Name" type="text" id="Name" style="width:200px;" /></td> </tr> <tr> <td height="30"><label for="Subject">Subject</label></td> …

Web Development javascript php
Member Avatar for vibhaJ
0
524
Member Avatar for ben.matthews18

Hi, I have a contact form which is laid out like the following;[CODE] <form id="form1" name="form1" method="post" action="send.php"> <table width="362" border="0" align="center" class="tbltxt"> <tr> <td height="30" colspan="2" style="color:#174AA8; text-decoration:underline;"><b>Send us a message!</b></td> </tr> <tr> <td width="95" height="30"><label for="Name">Name</label></td> <td width="257"height="30"><input name="Name" type="text" id="Name" style="width:200px;" /></td> </tr> <tr> <td height="30"><label for="Subject">Subject</label></td> …

Web Development javascript
Member Avatar for Sogo7
0
219
Member Avatar for dyingatmidnight

Hi all. I'm working on a database for school and I'm working between two computers, my laptop at home and my desktop at work. Now my code works fine on my desktop but when I moved it over to the laptop the two drop down select boxes aren't being created. …

Web Development php session
Member Avatar for dyingatmidnight
0
91
Member Avatar for Tchibo

Hello, 1. I have the following script: function selectThis(id){ var locationstring = "process.php?value=" + id; ///// locationstring += "&bs=" + $('#bs_' + id).attr("selectedIndex"); locationstring += "&ad=" + $('#ad_' + id).attr("selectedIndex"); locationstring += "&ns=" + $('#ns_' + id).attr("selectedIndex"); locationstring += "&wt=" + $('#wt_' + id).attr("selectedIndex"); locationstring += "&in=" + $('#in_' + …

Web Development javascript
Member Avatar for Troy III
0
187
Member Avatar for Violet_82

HI there, I am some problems creating a redirect from a php file. Now, here's teh problem. On my site - let's take this page - [url]http://antobbo.webspace.virginmedia.com/webediting/content.htm[/url] I have a comment form that sends me an email everytime somebody submits the form. Now, the php file is configured so that …

Web Development html-css php session
Member Avatar for brewbuff
0
200
Member Avatar for oggiemc

Hello all, Can someone explain the attached code please..And in particular, how the program execution flows between the different scope blocks.. Thanks [code] <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Recursion</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> //<![CDATA[ function runRecursion() { var addNumbers = function sumNumbers(numArray,indexVal,resultArray) { // recursion test if (indexVal …

Web Development javascript
Member Avatar for Troy III
0
123
Member Avatar for gnomix

Hi friend! I would compile my file php under under Linux. Have you got an idea of this? (free solution...) Thanks a lot [Gnomix]

Web Development php
Member Avatar for jakubmisek
0
926
Member Avatar for adamworld

I have code where I am pulling data from my database and it needs to be separated by commas except the last value (that part works) so I can take those values and input into another SQL query. Here is the working code: [CODE]$biz_id = $row_businesses['id']; $query_related = sprintf("SELECT * …

Web Development mysql php programming-construct
Member Avatar for adamworld
0
112
Member Avatar for dyingatmidnight

Sorry its a lame title. Not sure really if this should be hear or over in the sql section. I know what I want to do but I'm blanking on how exactly to go about it. I'm inserting book titles into a library database and what I'd like it to …

Web Development php
Member Avatar for diafol
0
98
Member Avatar for Hakoo

Hello Friends, I am working in JME. Now, I have situation in which, I suppose to connect with Database which has been used with PHP. So, How can I access to Mysql? As usual same as to connect mysql with JDBC? Is Mysql and Mysql in WAMP Server different? Please …

Web Development mysql php
Member Avatar for diafol
0
203

The End.