52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 ![]() | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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. … | |
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 | |
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 … | |
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 | |
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 … | |
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 … ![]() | |
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 ![]() | |
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 ![]() | |
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 … | |
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. … | |
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 … Web Development apache database-design php web-design web-server | |
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 … | |
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 ![]() | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … Web Development actionscript coldfusion javascript javascript-jquery perl ruby | |
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) … | |
how to show word,rtf,pdf file in asp.net plz give me code thnks in advance | |
How to show image in image control from ms access database. | |
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 … Web Development client-server file-stream java-jsp | |
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] … Web Development javascript javascript-jquery web-design | |
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 | |
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 | |
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 | |
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 … | |
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 | |
[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 | |
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 | |
![]() | [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 |
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 | |
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 |
The End.