52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for slrobinson1983

Hello all. Can anyone show me the best way to convert a duration consisting of only minutes and seconds (such as 2:15) into all seconds (which would be 135 based on my original 2:15). Thanks in advance!

Web Development php
Member Avatar for slrobinson1983
0
298
Member Avatar for jeordy

I'm going a little crazy here trying to figure this out. Any help would be greatly appreciated. MySQL version: 5.0 I'm trying to make a very ugly php page used to basic queries. I have a similar page working that creates new records in the specified table, so I know …

Web Development client-server mysql php
Member Avatar for TySkby
0
148
Member Avatar for branding4you

I have problem in code for IF statement. Im looking in a mysql table if there is a field (fld_comleted) that has record with "NO" in it. If there is a record that has "NO" in it it has to do something (send email to client) if there is no …

Web Development mysql php
Member Avatar for branding4you
0
114
Member Avatar for umair41

explain th datatable 1.0 1 1.00 / 5, 1 vote C# tablename User Id int Email varchar(500) Password varchar(500) Name varchar(500) DATA IN TABLE IS Id Email Password Name 1 [email]ali@yahoo.com[/email] 1234 ali 2 [email]usman@yahoo.com[/email] 1234 usman i ask you about simply datable working Label1.text=datatable.Rows[0]["Name"].Tostring(); how it wnat to know …

Web Development asp.net
Member Avatar for pankeel
0
67
Member Avatar for Sydney123

Hi there, I have X as the value selected in a drop down To X I want to link and display the below value defined in the following arrays. Does anyone know how to link this code to the X value resulting for the drop down selection ? [CODE] <script …

Web Development javascript
Member Avatar for ivan3510
0
76
Member Avatar for zeeya

i have chosen virtual classroom systems to be done as a project for my final year.. i would like to know the enhancements and the new features that could be added to the project so that i could try to add them into my final year project… also, please let …

Web Development php
Member Avatar for diafol
0
322
Member Avatar for cliffcc

As i know we can set the radio button as default buttion by using the code (checked) . how about the select button? Can i do the same thing to select button? Thanks!

Web Development php
Member Avatar for vibhaJ
0
216
Member Avatar for MoreBloodWine

Code: [code]<?php $data = file_get_contents('http://support.xbox.com/en-gb/Pages/xbox-live/xbox-live-status.aspx'); preg_match_all('~<div id='xbox-live-status-box'>\s*(<div.*?</div>\s*)?(.*?)</div>~is', $data, $matches ); print_r($matches); ?> [/code] Result: Array ( [ 0 ] => Array ( ) [ 1 ] => Array ( ) [ 2 ] => Array ( ) ) I was hoping to maybe see something similar to this... trying to …

Web Development php
0
90
Member Avatar for johng123

i have 4 columns in the mysql database url, showingtext, target want to make a hyperlink from those columns: question: how do i automatically fill the 4th column containing the html hyperlink code question: should i rather string the 3 columns togheter using php, how would one do that sorry …

Web Development perl php
Member Avatar for johng123
0
399
Member Avatar for designer2011

Just wondering if anyone can help with making all the fields on my contact form a required field. I have added the coding for the contact form php. Also will there be an adjustment to the coding for the website? Thank you in advance for your help. [CODE]<?php $field_name = …

Web Development php
Member Avatar for designer2011
0
116
Member Avatar for shivarocks

hello sir, i am new to jsp and i have to use jsp mail in my project and i got a jsp mail script but unfortunately it is showing error like this one! 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 f10sm3473193anh.25 i am using smtp server:smtp.gmail.com and there …

Web Development email java-jsp session
Member Avatar for Phucok88
0
218
Member Avatar for dejanc

Hello, I have access database which have hyperlink column, and values as "/yes.bmp", "/no.bmp". Then in asp.net have a GridView with ImageField which in browser will show Yes image, or No image. ImageField Properties >> DataImageUrlFormatString: ~/images/{0}.jpg. My goal is to get in vb.net code a value from GridView's imagefield. …

Web Development asp.net vb.net
Member Avatar for dejanc
0
397
Member Avatar for ronnieaka

i have a form, on which after i click submit, i want the existing elements to get cleared off , ie, all those form fields and button to be cleared, and the result i wanna display be displayed kind of like clrscr() in c++. is there anything in JSP or …

Web Development java-jsp
Member Avatar for javaAddict
0
1K
Member Avatar for darkrunner

I've got this error `Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/siambidd/domains/siambidding.com/public_html/session.php:3) in /home/siambidd/domains/siambidding.com/public_html/session.php on line 4` I've checked my code, there is no any spaces, and I'm not using BOM as well, but still got this error. please help me here …

Web Development php session
Member Avatar for aidant
0
144
Member Avatar for twiss

Hi all, I'm trying to match all PHP reserved keywords in a string, but this string also contains a bunch of \4 characters [i]between[/i] the letters. So, for example, if I have the string [ICODE]'f\4u\4n\4c\4t\4i\4o\4n@@@some other weird characters@@@'[/ICODE] and the array [ICODE]['abstract','and','array','as','break','case','catch','class','clone','const','continue','declare','default','do','else','elseif','enddeclare','endfor','endforeach','endif','endswitch','endwhile','extends','final','for','foreach','function','global','goto','if','implements','interface','instanceof','namespace','new','or','private','protected','public','static','switch','throw','try','use','var','while','xor'][/ICODE] and I want to make 'function' match '\4f\4u\4n\4c\4t\4i\4o\4n\4', …

Web Development javascript
0
116
Member Avatar for McLaren

Hi, Again I am trying to do a simple thing but with joomla it is advanced. What I want to make is to show articles on front page in the way like it is in the atached picture. You can see the red bracked on the left. There is 3 …

Web Development html-amp html-css php
0
114
Member Avatar for Tenaciousmug

Here is my code for the login script. Everything works perfectly, but everytime I enter everything CORRECTLY into the forum, it says "The username, ____, and password do not match!". When they do match. If I leave the areas blank, they say "You must enter a username!" or "You must …

Web Development php session
Member Avatar for cuonic
0
95
Member Avatar for Tenaciousmug

Alright, I have a random thing going on. Works perfectly fine. This is the code: [code]<?php include("config.php"); //To change the odds, change the second number in the rand() function. $rand = floor(rand(0,1)); if($rand == 1) { $sql = "SELECT * FROM randomevents WHERE rarity <= '10'"; $result = mysqli_query($cxn, $sql); …

Web Development php
Member Avatar for cuonic
0
117
Member Avatar for Tenaciousmug

It's working great, but at some points after one of the random events goes through, I reload the page and it either gives me or takes away some starpoints without showing the message.. but it shows the message all the other times. Could someone help me debug this and see …

Web Development php
Member Avatar for cuonic
0
97
Member Avatar for oree

Hey there, I am looking to have 2 drop down lists, 1 for provinces and 1 for cities. i saw some examples in java script but since i dont know how to use java and i do know and LOVE php i wondering if anyone can help me with this …

Web Development html-css php
Member Avatar for oree
0
2K
Member Avatar for umeshMCA

here i want to know that how i can do this result on client side no user can change,delete or add in this page how i will show info like this: (all values come from database) +2009 +2010 +BCA-I +BCA-II -BCA-III SAD.pdf Advance Web Application.pdf Programming in JAVA.pdf +PGDCA +M.Sc. …

Web Development pdf php
Member Avatar for vibhaJ
0
91
Member Avatar for dalip_007

Guys Is there a way to export the record of a table in csv format and then send that csv as attachment in mail to anyone using php? Thanks

Web Development mysql php
Member Avatar for vibhaJ
0
122
Member Avatar for 68thorby68

I have all but completed my design for an application in PHP and MySQL using apache as my web server. However, I was wondering whether apache supported transaction logging which would save me creating code with numerous database calls to log all activity myself. I appreciate I may have to …

Member Avatar for 68thorby68
0
153
Member Avatar for jakizak

Ahhhh! OK, so I've been learning PHP for about 7 years now on and off, but never have I taken the time to look into URL rewriting. Until now I've not needed it, but you can guarantee the one thing you think you wont need, you need! I have the …

Web Development apache php
Member Avatar for blocblue
0
357
Member Avatar for pallen

Hi folks, I have 2 very similar html contact forms on my site that run through PHP and get the results to the staff in an email. I use strip_tags to remove malicious content on each step of the form. Recently, a user sent an email that included some URL's. …

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

My script is dies at the start when I try to devine a SplFixedArray and I don't know how to find the error. Help would be appreciated... [CODE] <? error_reporting( E_ALL ); // Initialize the array with a fixed length $array = new SplFixedArray(5); [/CODE] Thanks! WBR

Web Development php
Member Avatar for rouse
0
141
Member Avatar for NinjaLink

I receive the correct results when I use Microsoft Internet Explorer. However, when I use Ubuntu and try to get the output, I receive a blank screen except for the title "Book Finder Search Results" which appears at the top. Are there any adjustments I can make, so I can …

Web Development mysql php ubuntu
Member Avatar for zizuno
0
202
Member Avatar for -==Zero==-

Hello My Problem May Be Very Easy Or Very Hard Iam Still Noob In Php I Developed This Site [url]http://www.e-alriyadh.com/[/url] The Pagination Works Fine In The Index Page Like This [url]http://www.e-alriyadh.com/index.php?p=2[/url] Now There's A Problem In The Category Section Pagination This Is A Section [url]http://www.e-alriyadh.com/cat.php?id=22[/url] When I Try To Go …

Web Development php
Member Avatar for -==Zero==-
0
139
Member Avatar for dandixon

Im a noob to asp.net, im a web designer with html, css and basic php experience and want to learn more about asp.net/vb. Does anyone have any time to explain to me a good place to start, books, websites etc or the best place to start, do i need to …

Web Development asp.net html-css
Member Avatar for koki55
0
136
Member Avatar for stonybony

Hi, First up, I am a little lost with events. I am trying to do this and I can almost say that its not doable: [code] "one.php" <?php echo '<input type="text" maxlength="5" name="bill" value="" /><br />'; $get_pass = 5; $get_pass1 = 10; ?> <a href="two.php?getpass=<? echo $get_pass ?>&getpass1=<? echo $get_pass1 …

Web Development php
Member Avatar for stonybony
0
131
Member Avatar for pavankumarr

Hi, I want sample code to validate the dates that is to be in the format YYYY-MM-DD(2011-04-21). I had created two Textboxes to enter date and one Button Control. The date format to be entered in the Textbox should be exactly like YYYY-MM-DD(2011-04-21). If user enters any other format like …

Web Development asp.net
Member Avatar for pavankumarr
0
2K
Member Avatar for Bar2aYunie

Hello, I've got a MySQL db which contain addresses. I also made a script to easily add new entries to the db with a number of columns. Now, I do know how to make a script to display what's in the db... But I would like to know how to …

Web Development php
Member Avatar for kekkaishi
0
101
Member Avatar for stupidenator

Hey all. I have been messing around with javascript for a while now and I am not all too good with it. I built a little javascript program that takes the input from a text box and depending on what's in there, it goes to a certain page. I am …

Web Development javascript
Member Avatar for almostbob
0
3K
Member Avatar for supriyabirje

hi.. just started learning ajax.. could you all please help me with this code.. when i execute i get this Resource id #3 I have posted the code below. there are two files.. 1) getvendorname.php 2) sales.htm (containing the javascript function) [CODE]<script type='text/javascript'> function getname() { var vendorID = document.getElementById("idvid").value; …

Web Development display javascript
Member Avatar for urtrivedi
0
2K
Member Avatar for benjaminFowl87

Hi My problem is. I'll break down the problem to make it clear. [CODE] <html> <head> <body> <!-- ajax call that opens a jQuery UI Dialog box --> <a href="#" onclick="$.ajax({beforeSend:function(request){$('#onboarding_accounts').show();}, complete:function(request){$('#onboarding_accounts').hide();}, data:'', dataType:'script', type:'post', url:'/proxy/account/load_create_account?method=get'}); return false;">Create New Account</a> </body> </html> [/CODE] It should be noted that the dialog …

Member Avatar for benjaminFowl87
0
1K
Member Avatar for johng123

its probably a simple and rather stupid question, thousands of times asked.... i have a input box (1surf.info,check out link) I would like to replace it with a dropdown , again it would need to list the countries within the table. this is how it is right now, enter state(USA) …

Web Development html-css php
Member Avatar for happytogether
0
154
Member Avatar for pankeel

how to show word,rtf,pdf file in asp.net plz give me code thnks in advance

Web Development asp asp.net pdf
Member Avatar for jackbaker
0
201
Member Avatar for adobe71

How to show image in image control from ms access database.

Web Development asp.net image
Member Avatar for pankeel
0
74
Member Avatar for Eric Cute

Hello Everyone, Im needing a bit of help here. First, Im trying to let client download a file from server and save it on client's pc. When client clicks on button "DOWNLOAD", it will call a servlet that will download the file. Expected outcome is that a SAVE AS DIALOG …

0
133
Member Avatar for gambit_1607

hi i'm using a jQuery Inline Modal Window. the code for it can be found here [url]http://www.sohtanaka.com/web-design/inline-modal-window-w-css-and-jquery/[/url] i currently have an array within a function in javascript. when i click on the appropriate link for the inline modal, the inline modal window appears. my function looks something like this [CODE] …

Member Avatar for gambit_1607
0
160
Member Avatar for stonybony

Hi, I have a situation that is producing NULL values: The situation is best explained with this code at this link: [CODE]http://www.daniweb.com/web-development/php/threads/227698[/CODE] Initially, I had a link called "add to list" for each record the display page displayed. I used to hide the row-id in there and pass it onto …

Web Development php
Member Avatar for stonybony
0
164
Member Avatar for Hani1991

hello i think i made small mistake in the following code but i dont know what it is exactly: [CODE]<script language="JavaScript"> function doType(id,typewhat) { var doc=document.getElementById(id); doc.innerHTMl = typewhat; } </script>[/CODE] could u plz help??

Web Development javascript
Member Avatar for Pro2000
0
92
Member Avatar for IWDesigns

hi, i am creating a form of which will update portfolios, included is a text field...i already have blocked the usage of html and email addresses from being posted, but i cant seem to figure out how i would block website addresses? what code would i use to do this? …

Web Development php
Member Avatar for IWDesigns
0
350
Member Avatar for kimmi_baby

Hi, I'm having a problem with an ASP.net website and CSS. I've pasted my CSS code from a previous website (HTML and CSS) to have a look at it. I've copied the basic divs etc into the masterpage. But I'm finding that the layout isn't centered. The layout would normally …

Web Development asp asp.net html-css
Member Avatar for jbisono
0
287
Member Avatar for 7a26j

I have problem with this code.. my browser prints: Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\plaincart\library\database.php on line 4 [CODE]<?php ini_set('display_errors', 'On'); //ob_start("ob_gzhandler"); error_reporting(E_ALL); // start the session session_start(); // database connection config $dbHost = 'localhost'; $dbUser = 'root'; $dbPass = ''; $dbName = 'plaincart'; …

Web Development apache php session web-browser
Member Avatar for chrishea
0
157
Member Avatar for astala27

[CODE]echo '<h3>Yeni Yönetici Ekleme Ekranı...</h3><br><br>'; if (isset($_POST['submit']) && $_POST['submit'] == "Kaydet"){ if ($_POST['usernname'] != "" && $_POST['password'] != "" && $_POST['first_name'] != "" && $_POST['last_name'] != "" && $_POST['email'] != "" && $_POST['TCK'] != "") { $query = "SELECT username FROM users WHERE username = '".$_POST['username']."';"; $result = mysql_query($query) or …

Web Development php
Member Avatar for astala27
0
342
Member Avatar for tcollins412

i am trying to put all of my cookies into an array. heres my code [ICODE] <? setcookie('failn','fail'); setcookie('goodn','good'); setcookie('han','ha'); $allcookies=explode(' ',$_COOKIE); print_r($allcookies); ?> [/ICODE] but the page only returns Array ( [0] => Array ) please help

Web Development php
Member Avatar for tcollins412
0
155
Member Avatar for TechySafi

[CODE]<html> <head> <title>An Ajax demo</title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 …

Web Development javascript
Member Avatar for ivan3510
0
130
Member Avatar for stonybony

Hi, DW complains of a syntax error that I cannot understand. I use the code as a standalone and it is not a problem, but when used as a table element as written below, it complains of a syntax error. The red highlight is where it complains, the green seems …

Web Development php
Member Avatar for Gerbiler
0
177
Member Avatar for never_rain

I have a website where users can add their friends. What I am trying to achieve is to show every user that who are their friends that are currently online. If any one knows a link to any script or tutorial that explains this, Please help.

Web Development php
Member Avatar for nats01282
0
144

The End.