52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ROTC89

ok so i am trying to fill a 2d array with random numbers and find the max size in each row. i don't know what is wrong with my code. here is the code [code=php] <html> <body> <title>Assign 2</title> </head> </body> <hr/><p/> <?php $arr=array(); $max_row=array(); function find_max_row() { global $max_row; …

Web Development php
Member Avatar for ROTC89
0
148
Member Avatar for nphoops

Hey all, I've found a lot of good help here on Daniweb, but this is my first post :) Here's my situation: I have a form that has 2 select boxes with multiple options. For the First dropdown, I have assigned IDs to each option (1,2,3,etc) For the Second dropdown, …

Web Development php
Member Avatar for djjjozsi
0
246
Member Avatar for jcanaway

alright i am working on jQuery - UI Sortable Portlets and im trying to pass serialize on to the php so i can update my database with each displays column, and position so it will save for my users i have what I've done so far below if anyone know …

Web Development javascript-jquery php
Member Avatar for jcanaway
0
471
Member Avatar for Lhizzard

Hei again.. new problem. I would like to add "updating" stuff for this picture moderating. Like if there show.php?id=(numberofpic) then it opens show.php page, where is possible to moderate(over moderate)... I try, but I dont figure it out. As like I want to add this field, who have moderated this …

Web Development php
Member Avatar for diafol
0
149
Member Avatar for Josh Connerty

Hey guys, I have a new server :P I am currently configuring it and I ahve come across an issue. The issue being that PHP 5 does not support MySql from standard. I have managed to resolve an issue with the installation of PHP on IIS BUT I am strugling …

Web Development mysql php windows-server
Member Avatar for Josh Connerty
0
140
Member Avatar for liferentsus

I have this feed of classifieds that I need to convert to an .xml doc. I explode each string into an array (separated by a "|"). Everything work just fine except the string cuts off if there are any line breaks in the 5th section and everything after the break …

Web Development php xml
Member Avatar for liferentsus
0
170
Member Avatar for a496761

I am working an an app that allows users that create crystal reports (.rpt files) to upload and view their reports via my web application using the CrystalReportViewer server control. I would like to dynamically create my own form for them (to take the place of the ugly ones Crystal …

Web Development asp.net web-server
Member Avatar for a496761
0
121
Member Avatar for servis

i am getting the list of values from databas table, some values are null, i want to show the values, which are not null. example is as follow, [ICODE] //sql query while ($row =mysql_query($result)) { $carBrand =$row['brandName']; $carMod = $row['model']; $carModYear =$row['modYear']; $regCity =$row['regCity']; $demand =$row['demand']; //some of them are …

Web Development php
Member Avatar for djjjozsi
0
87
Member Avatar for HITMANOF44th

i am working on a script that uses a counter in order to display some things from a data base now when i submitt from one of the two form buttons it always returns the last variables that would have been in the index and i am trying to get …

Web Development php
Member Avatar for HITMANOF44th
0
99
Member Avatar for mc080201812

Question 1 You are required to write the code for sevlet which will take username and password from the html file and matches with database which contains two columns; one for username and other for password. Providing correct information leads to welcome page otherwise to a login page again. You …

Web Development java-jsp web-server xml
Member Avatar for javaAddict
0
85
Member Avatar for doclucas

Hi, I have the following search code and want to use prototype js to have it submitted without refreshing the page. I tried a few things, but couldn't make it work, would appreciate any help. Here is the html code: [code] <form method="post" action="quick_stockview.php" name="quickview"> <table border="0" align=center> <tr> <tr> …

Web Development javascript
Member Avatar for Airshow
0
187
Member Avatar for veledrom

Hi, I just wonder if this is possible. When i print a page from my localhost or web, the html link information is printed at the end of the page. How can disable it? Thanks

Web Development html-css javascript
Member Avatar for veledrom
0
72
Member Avatar for rudhra216

hi, any one plz tell me how to connect oracle database with the help of struts . i am begginner in struts or plz send me some tutorial in struts or plz send me some sample project in struts thank u:eek:

Web Development java-jsp oracle
Member Avatar for peter_budo
0
88
Member Avatar for dmotah

hi guyz im using phpmailer to send mails but into the message variable i cannot add an activation link? the link is send but is not hyperlinnked in any mails(hotmail,gmail etc) here is my code: [CODE]$mail = new PHPMailer(); //$body = $mail->getFile('contents.html'); //$body = eregi_replace("[\]",'',$body); $body = "Welcome $surname, $name …

Web Development php
0
86
Member Avatar for spiriad

Hello there, Is there any good online web based code (text) editor with syntax highlighting for different languages (C,C++,PHP, etc) and auto-completion .Or, with at least one of that options (better if both, especially auto-completion)? Seems that the results from gooogle aren't helping me so much. Thanks

Web Development php
Member Avatar for digital-ether
0
133
Member Avatar for Xessa

I want to avoid user to press " and ' characters. What must i do in keyup event?

Web Development javascript
Member Avatar for essential
0
108
Member Avatar for sebastian3

Does anybody know to import Gmail contacts. I have downloaded a useful tutorial at : [EMAIL="http://johnvey.com/features/gmailapi/"]http://johnvey.com/features/gmailapi/[/EMAIL] which is the only one available in search engines. But it is not working !!

Web Development asp.net
Member Avatar for sebastian3
0
284
Member Avatar for waelaltaqi

Hello All, PHP newbie here ... I have the following code working to retrive the last 50 records from a reservation database: [CODE=php] <?php /* Databasae Variables */ $username="user"; $password="pass"; $database="db"; /* Database Connection */ mysql_connect("1.1.1.1",$username,$password); mysql_select_db($database) or die ('Unable to select database'); /* Select last 50 records */ $query …

Web Development html-css php
Member Avatar for nikesh.yadav
0
108
Member Avatar for nish123

[B]is it possible to have Postback method on page Refresh.?? (Hold the values of a form on page refresh..!!) I have Two Columns for Example: Items | Price item1 | textbox(in which we fill price) item2 | textbox(in which we fill price) item3 | textbox(in which we fill price) Add …

Web Development php
Member Avatar for OmniX
0
320
Member Avatar for SKANK!!!!!

this code isnt workin: [CODE]$newer = mysql_query("DELETE FROM messages WHERE id = '$rawr', user = '$rew', read = '$roll'"); [/CODE] this code works: [CODE]$newer = mysql_query("DELETE FROM messages WHERE id = '$rawr' AND user = '$rew'");[/CODE] the variable is the same that is included in the first, so its not …

Web Development mysql php
Member Avatar for SKANK!!!!!
0
137
Member Avatar for tiger86

Hi; I have been studying PHP and I'm coding it. I ran into an odd problem but I'm sure it is a newbie error. Whenever I run my php script on xampp I get parsing error line 103. I go to my code and the closing html tag is at …

Web Development html-css php
Member Avatar for diafol
0
160
Member Avatar for beertje

I have created a Flash CS4 survey form that uses a borrowed PHP3 form. I borrowed it since I have no PHP programming knowledge. The problem is that I am either missing something or doing something wrong with the PHP script. The Flash file works fine. I will be happy …

Web Development flash php
Member Avatar for beertje
0
99
Member Avatar for mohan7690

hi i want to read data from com port of client system, using asp.net page how to do it, any one please help me.

Web Development asp asp.net
Member Avatar for Tekmaven
0
228
Member Avatar for iversia

[code] <?php require("config.php"); if(isset($_GET['id']) == TRUE) { if(is_numeric($_GET['id']) == FALSE) { $error = 1; } if($error == 1) { header("Location: " . $config_basedir); } else { $validtopic = $_GET['id']; } } else { header("Location: " . $config_basedir); } require("header.php"); $topicsql = "SELECT topics.subject, topics.forum_id, forums.name FROM topics, forums WHERE topics.forum_id …

Web Development mysql php
Member Avatar for ShawnCplus
0
397
Member Avatar for sirge

Hi guys, I have a two functions in ajax; say for example the functions are...function AB() and function BC in my form I have a this textbox which calls the function AB() through onKeyUp event. I successfully made calling the said function, but what if I'll be calling the two …

Web Development javascript
Member Avatar for ShawnCplus
0
103
Member Avatar for Plyswthsqurles

Hey guys/gals, I literally just started teaching myself MySQL today and have started to write a email list script for mass emails. Ive got the adding emails and sending mail scripts working but i cannot figure out for the life of me what is wrong with the deleting script. I …

Web Development mysql php
Member Avatar for Plyswthsqurles
0
319
Member Avatar for coolest_987

hii Everybody Please help me to solve below problem i have been doing this for three days. Warning: main(includes/languages/.php): failed to open stream: No such file or directory in C:\www\cool\includes\application_top.php Any help will be deeply appreciated.

Web Development file-stream php
Member Avatar for nimitz1061
0
116
Member Avatar for jyotiu

Hi all I am adding a field to content type 'blog' in drupal 5.x but i can see only one field type and that is image in it. what is wrong? please see the screen shot of the page attached. see this article which tells how to add a field …

Web Development php
Member Avatar for dorien
0
105
Member Avatar for servis

i have four checkboxes, user have option to select all or any of them as per the nature of complaint. the html code is as follow.... [ICODE] <input type="checkbox" name="comp1" value="Abusive words are used"> <input type="checkbox" name="comp2" value="Attachments are vulgar"> <input type="checkbox" name="comp3" value="Provided links are not valid or open …

Web Development php
Member Avatar for servis
0
2K
Member Avatar for ric1950

I have php 5.2.2 I have followed all the instructions for installing the mcrypt extenstion (changed php.ini to add the mcrypt extension which phpinfo.php says is installed: "mcrypt support enabled Version 2.5.7 Api No 20021217 Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 …

Web Development api php
Member Avatar for ric1950
0
237
Member Avatar for neonle

I tried to login in my website with a new account after logging out from previous account but when it login in the previous account only. even after logout the previous account is showing. I don't know what is the problem please let me know...thanks

Web Development php
Member Avatar for BzzBee
0
93
Member Avatar for quibbie

I uploaded all my files through Cpanel to my public_html root folder and set my permissions but my page is still not displaying when I type in the URL. I have another domain name and this is an add on domain. I have MySQL version 5.0.77-community with a separate database …

Web Development apache php unix
Member Avatar for kvprajapati
0
134
Member Avatar for littlebear330

hi, I can displayed data from list/menu from 3 different tables in database in a table and in each row of the table I had a delete button. The problem is I did not know how to delete a single row when i click the button. Anyone can help? This …

Web Development php
Member Avatar for BzzBee
0
290
Member Avatar for fightoplankton

I have been struggling for days on just the first part of this script. Please help! I need to add the ability to delete the last column of each csv, which vary in their lengths. [CODE] require 'rubygems' require 'roo' require 'fileutils' require 'rio' FileUtils.mkdir_p "/Users/pshapiro/Desktop/Excel/xls" FileUtils.mkdir_p "/Users/pshapiro/Desktop/Excel/tmp" FileUtils.mkdir_p "/Users/pshapiro/Desktop/Excel/csv" …

Web Development ruby
0
112
Member Avatar for jaykom

Hi folks, My example markup as follows [code=html]<fieldset> <input type="text"></input> <input type="text"></input> <select></select> </fieldset> <fieldset> <input type="checkbox"></input> <input type="text"></input> <select></select> </fieldset>[/code] I want to collect all the child elements inside this two fieldset elements through looping, folks please help me out

Web Development javascript
Member Avatar for essential
0
268
Member Avatar for versatile36

Hey can any one tell me the difference between Visual Web developer express and Visual studio express edition ? is Visual Web developer express inbuilt in Visual studio express edition ??

Web Development asp.net visual-studio
Member Avatar for versatile36
0
232
Member Avatar for Anvar.P

is it possible to use php as a client side scripting language? if it possible, how can i read values releated with the form?

Web Development php
Member Avatar for Will Gresham
0
110
Member Avatar for laetitia--

Hello, I am pretty new to php I have to restructure all my code to avoid the famous warning error [INDENT]"Warning: Cannot modify header information - headers already sent by (output started at...)" [/INDENT] I get this at least 4 times in my code due to cookies and session start. …

Web Development html-css php session storage
Member Avatar for laetitia--
0
144
Member Avatar for Arctic wolf

Hello everyone, I'm new to PHP and having a very basic problem of instaling the web server correctly. Now,I tried to run PHP 5.2.9 , The instalation program asked me to choose a web server and for not having much understanding in this I chose apache 2. The problem was …

Member Avatar for Arctic wolf
0
144
Member Avatar for kkemerait

Maybe I've just missed this one and its easy .. but I like to write my local css styles using a single line .. But everytime I drag a control onto the web page VS creates the .Style1, .Style2 etc etc. Trash to clean up. If I DO clean it …

Web Development asp.net
Member Avatar for sknake
0
271
Member Avatar for IfNot

I am a new to php and i've managed to populate a combo/list box with data via mysql but i can't find a way to display a tooltip or description with the onmouseover event. Any ideas?

Web Development php
Member Avatar for IfNot
0
64
Member Avatar for khr2003

Hi I am trying to modify a class and I found this code in it: [CODE] $query = " SELECT * FROM menus WHERE show = '1'"; $id = $this->menuid; if((isset($id)) && ($id != '')) { $query .= " and menuid in($id)"; } $query .= " ORDER BY menuorder ASC"; …

Web Development php
Member Avatar for khr2003
0
123
Member Avatar for justted

Hello all, My website has a feature in which I can turn on/off a feature which allows members to add their own CSS code for their profile design! If possible I want to allow this as it would mean a much better platform for my members but I wanted to …

Web Development html-css php
Member Avatar for digital-ether
0
160
Member Avatar for sam023

Hello I want to get response or content of a url..!!! [code=php] $url="http://203.142.18.33:4480/3030service/airtel.php?mobile=".$mobile."&msg=".$msg."&from=".$from; $file=file($url) ; print_r($file); [/code] but i got an error [function.file]: failed to open stream: HTTP request failed- Response of the file..!! with file_get_contents it showing same error..!! is there any method other to get the response..!! with …

Web Development file-stream php
Member Avatar for digital-ether
0
2K
Member Avatar for jamello

I have a feeling this question is an age long one. Please forgive me:D I have IIS and Apache on my computer. Apache would refuse to run unless I stop IIS. I had tried changing the default port number of Apache from 80 to 8080 in the httpd.conf file but …

Web Development apache dns php
Member Avatar for digital-ether
0
204
Member Avatar for khr2003

Hi I am trying to run this query: [CODE]mysql_query("update group_data set title='$title', desc='$title' where groupid='$groupid'");[/CODE] but the problem is that I get this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc='' …

Web Development php
Member Avatar for Josh Connerty
0
87
Member Avatar for drjay1627

i'm a java c/c++ person. trying out ruby for the 1st time! how do i do something like this in ruby: [code] //this is java public static void main ( String args [] ) { File inFile = new File ( args [ 0 ] ); File outFile = new …

Web Development ruby
Member Avatar for ~s.o.s~
0
208
Member Avatar for Wolverine68

I am new to AJAX. I'm trying to write code that will extract from an XML file and then display the results. Keep getting a syntax error. HTML: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Extract Data from an XML file</title> <script type="text/javascript" language="javascript"> <!--The object …

Web Development javascript xml
Member Avatar for essential
0
166
Member Avatar for david.1982

Hi Guys, I'm working on converting an existing site from classic ASP over to .NET. The existing user passwords are MD5-encrypted. I'm trying to figure out if there's a way to import those passwords into the Membership Provider. The salting is what's throwing me off. The only thing I can …

Web Development asp.net
Member Avatar for david.1982
0
96
Member Avatar for mccs

Hello can someone please help me, I am trying to add information to a database with checkbox. I have every thing working expect for the checkbox. I am fairly new to the php/sql side of web coding. Anyway I want to add information to the one field of a database, …

Web Development apple mysql php
Member Avatar for mccs
0
571

The End.