52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 ![]() | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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: | |
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 | |
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 | |
I want to avoid user to press " and ' characters. What must i do in keyup event? Web Development javascript | |
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 | |
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 … | |
[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 | |
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 … | |
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 … ![]() | |
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 … | |
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. | |
[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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
![]() | 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. … ![]() |
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 … Web Development apache php web-server windows-server | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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, … |
The End.