52,566 Archived Topics
Remove Filter ![]() | |
hai friends I need to count the files with in the selected folder. How to count the files ?? please help me. If any paossibel ple4ase send me sample code. Thanks vssp Web Development php | |
Hello all, I am trying to use more regex but I can't seem to get this to work. The aim is to check inputs for either [url, [link or <a href: [CODE] $islink = false; foreach($_POST as $k => $v){ if((preg_match("/[url|[link|<a href/i", $v)) > 0 ){ $islink = true; } … | |
Hi i have a problem, on localhost everything works fine but not when i upload to my web server an error occurs: I have tried different methods but nothing succedded. thanks HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, … Web Development asp.net http-protocol web-browser web-server | |
Hi.. Good day.. thank you for viewing my thread.. i would like to ask my fellow frens in daniweb to help me to validate access in my assignment system... currently my database is like this: [CODE]Assignment_id | Assignment_name | Member | Remarks 1 test 1 John, Sue, Veronica ok ok … | |
Hi I am experienced in ASP w/ C# but a beginner in PHP: How do I get the value of a unique index of a column of mySQL in PHP: [CODE=C#] try{ //do connect //insert data } catch(Exception ex){ if (ex.Message.IndexOf("Column_Name") >= 0) //<-- how do I do this in … | |
how do I read a website's source code line by line and store it as string for modification?? Web Development php | |
dear i am facing problem in populating array in my code as when i poulate an array in add code it works and when i do same in the edit section it gives undefined index error so how to solve this when press add button to add fruits from the … Web Development php | |
Anyone know how to put timer on this code that the higher the level the lower the time given to solve the puzzle..this will run only in IE browser [CODE] <HEAD> <style> .bigcell { background-color:#aa9966; border:4px solid #aa9966; text-align:center; } .cell { width:40px; height:40px; font-family:Verdana, Arial; font-size:10pt; font-weight:bold; background-color:#996633; color:#ffff33; … Web Development javascript objective-c puzzle | |
![]() | [CODE] $threadquery=mysql_query("SELECT * from threads where topic_id='$id'"); while($getthreadrows=mysql_fetch_row($threadquery)) { echo "<div class=singlepost>".$getthreadrows[2]."</div>"; }[/CODE] You can see Its fetching each comment into a div. But I need to do one additional thing too. Each comment may have some reply comment. How to get em like simple thread style as we see … ![]() |
Hello ,I am newbie..I am trying to configure Apache2.2 server for running .php files,but while editing apache/conf/httpd file its saying "Access is denied"..Please help me out | |
Hello guys. I'm developing a web application in which I have to connect to a mssql server which is connected through a proxy server. I have allowed data transfers for the MSSQLSERVER service, and allowed connections for port 1433. I've read that this is absolutely insecure, and it still gives … | |
Hi all, I am trying to work with Songkicks API to display the bands events from a list on my web page. I've queried the artists names and now want to get specific data from this link http://api.songkick.com/api/3.0/search/artists.json?query={$songkick_artist}&apikey=MYKEYGOESHERE\ The output get this result: {"resultsPage":{"results":{"artist":[{"uri":"[COLOR="Green"]http:\/\/www.songkick.com\/artists\/200900-coheed-and-cambria?utm_source=4361&utm_medium=partner[/COLOR]","displayName":"Coheed and Cambria","id":200900,"onTourUntil":"2011-09-23","identifier":[{"href":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767.json","eventsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/calendar.json","mbid":"ae1b47d5-5128-431c-9d30-e08fd90e0767","setlistsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/setlists.json"}]},{"uri":"http:\/\/www.songkick.com\/artists\/2060710-coheed-and-amp-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed & Cambria","id":2060710,"onTourUntil":null,"identifier":[]},{"uri":"http:\/\/www.songkick.com\/artists\/3236471-coheed-und-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed Und Cambria","id":3236471,"onTourUntil":null,"identifier":[]}]},"totalEntries":3,"perPage":50,"page":1,"status":"ok"}} … | |
I have a Javascript function that allows the display of a textbox upon selecting an option from a dropdown menu. In my case when a user selects listbox as the option, the text box appears. I want the same thing to happen when another option (checkbox) is selected. when I … Web Development javascript | |
I have a method that someone helped me with. Not sure what it means [CODE]echo ( $info['Ans_Answer'.$i]) ? " checked" : "";[/CODE] Web Development php | |
I am designing a website that connects to a database. I am using wampserver to connect to the website. In my customer add page I am trying to ask the website to generate an autonumber from the database. As my table in the database is set up as following: [CODE=SQL]CREATE … Web Development javascript php sql | |
Hi there, I have set up a mailing form with captcha and it work great however in the form itself, it says action="mailer.php" . When its submitted, it tries to go a non existant page, aka [url]www.mywebsite.com.au/mailer.php[/url] My pages are php, can you help? I want it to work but … Web Development php ![]() | |
Hello, i am develop website in jsp as per our final year project rule of college.my project is public transportation.i am creating site for it. now my problem is to create database for bus train and flight ticket reservation.. how can i create database for it and also journey table … | |
I'm using the wp e-commerce plugin and the problem is that the info for the product is shown under the picture instead next to it. I'm using virgo theme but I've tried with other themes and still, the problem stays the same. The problem is this: [url]http://i53.tinypic.com/2vdflo4.jpg[/url] and I want … Web Development php | |
Hi, I have problem in displaying "please wait.." text when the client requests data from the server. I have created a <div> element as below. <DIV ID="Loading" STYLE="position:absolute;z-index:5;top:30%;left:42%;visibility:hidden"> Please Wait.... </DIV> I am using Ajax call, to get some table data from the server. This takes around 10-15 seconds. Client … Web Development client-server javascript | |
Hello, I am new to JavaScript, I have to make a pizza webpage for my assignment. I am done the HTML part and PHP part. I have a form and when the user clicks submit it calls the check() method in the JavaScript. Even if the fields are empty, the … Web Development javascript php | |
Hey everyone I am trouble getting a reference to dropdownlist1. I need to get the selectedvalue so I can use the sqldatasource to update the table in my database. How can I get a reference to dropdownlist1. I have used Page.FindControl(), but I still am getting a null pointer exception. … Web Development asp.net | |
Hi I am new to PHP and looking to create a search php page, the search needs to be by Country, State and city. I have tried several methods over the last three weeks and none work, im slamming my head against my desk! Basicly I have three dropdown boxes … Web Development javascript mysql php | |
Hello everyone :) i want to be able to just edit and update one field of my grid view is this possible? as im using Visual Web developer 2008 express when a user selects edit to a row, it allows the user to edit the whole row ... but this … Web Development asp.net | |
I want to send another ajax request when one request is in process to get the status of first request. If I call both the request the second request gets blocked till the completion of the first request. Can anyone suggest a method so that second request gets processed in … Web Development javascript javascript-jquery | |
Hello, I'm kind of new with JSP and I'm developing an school project. So far I have my web application configured to work with a database. Now I have a form that receives a user and a password, then when the user clicks enter, it calls a servlet which checks … Web Development java-jsp web-browser | |
Hi All, I am using JQuery in my solution and was trying to get the value of the cell which has been clicked. however, after all my searches i ended up with no exact solution. the most common solution i got was to select a row (by making multi select … Web Development javascript javascript-jquery | |
Hey i have to make a pizza website for my assignment. I am done the HTML part and have finished the PHP more than half. I am trying to decorate it a bit and trying to use "\t" for tab, but its not working. Any suggestions? P.S. I have made … Web Development php ![]() | |
hi all, how do i use a drop down box to show my fields in my sql table ? below is what i have so far, i need to display all of the EmployeeIDs in the drop down box. [CODE]<select name="name"> <?php $sqlName="SELECT * FROM employeedetails"; $queryName = mysql_query($sqlName,$connection); $recordName … | |
Hi ppl, I have been using fpdf for a quite sometime now and it works fine, but at times when i make some changes(changes does not include printing/echo/redirecting before genrating pdf, but yes i do use lot of empty space/indentation for readability n this did not create problem earlier.) in … | |
I hate to post a thread on this since I know this topic has been discussed ad nauseum, but I've been searching for weeks and cannot find exactly the answer I've been looking for. I'm new to arrays and loops - I get the concept, but not the syntax. Here's … Web Development email mysql php programming-construct | |
Hi to all people members of Daniweb! I downloaded a complete package of virtuemart from this site, [url]http://virtuemart.net/downloads[/url], and but while trying to install the sample data I got this error that says, "[B]Error: Module Not Registered."store" is not a valid VirtueMart core module[/B]." I tried to reinstall the package … Web Development | |
Jquery's .not() and :not doesn't seem to work in this particular scenario. Any corrections or alternatives would be REALLY appreciated! As you see from the code below, when you click on the green box, the purple box will either slide up or down. How can I exclude the checkbox from … Web Development html-css javascript javascript-jquery | |
Hi I have a select list on my form as the following [CODE] <form name="source_form"> <select id="sel_source_zero" name="sel_source_zero"> <?php $sources = _ajax_get_news_sources(); foreach ($sources as $key => $value) { print ("<option value=\"$key\">$value</option>\n"); } ?> </select> <input type="submit" value="Submit" /> </form> [/CODE] When the user selects a value from the list, … Web Development javascript javascript-jquery | |
I try to convert a javascript object into string, but i just cannot get the solution after Google on it. Can someone help me about it? Thanks first... Web Development javascript | |
Hello guys. I am trying to build a games website using PHP for database to store game information. I'm trying to learn how to fetch ID information. For example: www.blabla.com/games.php?id=12345 As you can see, right after games.php, there is '?id=12345'. Anyhow, when a user clicks or types this link, that … ![]() | |
The VIEWSTATE size is killing our apps and it keeps growing. The .aspx files are bigger than 2.5Mb in some cases. The developer is on vacation and I just installed a 90 day trial of VS 2008 to test turning form-level VIEWSTATE off then turning it on again to see … Web Development asp.net | |
Hey guys, I've done this so many times before but I can't seem to get it working!! All I'm trying to do is in the JavaScript at the top change a span tag to whatever the current window location is but it doesn't work! [CODE=HTML] <div id='Box' class="whitebox"> <div class="position"> … Web Development javascript | |
I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. … Web Development javascript javascript-jquery | |
[PHP]<html> <title>Micro Elite Brigade - Participated Events</title><LINK REL="SHORTCUT ICON" HREF="images/favicon.png"><?php require_once('upper.php'); if($_COOKIE['LoginIdCookie']){ require_once('database.php'); require_once('LoginStatement.php'); $LoginId=$_COOKIE['LoginIdCookie']; $query="select * from participation where LoginId='$LoginId'"; $result=mysqli_query($dbc,$query) or die ('Not Connected'); //echo "<div class='search_output_data'> echo "<table border='0' cellspacing='0' cellpadding='0'>"; echo "<tr><th align='left' valign='top' width='100' height='20'>Event Title</th> <th align='right' valign='top' width='250' height='30'>Date of Participation</th> </tr>"; while($row=mysqli_fetch_array($result)) … Web Development php ![]() | |
How to get all the query-string parameters with php_self function? Web Development php | |
I am printing question number with the correct answer as 1 and wrong answer as 0. Now I would like to count how many correct answers for each question. Example of this: Question number: 8 00110 For this example there are two correct answer. [CODE] $scoree = 0; $intt = … Web Development php | |
![]() | Hi, I decided to try and upload images by storing their path in a database, but have run into an error when displaying the images. The form works and the folder is populated whenever I run the script. I have tried a lot of solutions from similar threads, but to … ![]() |
How to read multilingual emails using php? I don't want any webmail script. I want to use imap/pop3 functions [URL="http://www.php.net/manual/en/function.imap-open.php"]http://www.php.net/manual/en/function.imap-open.php[/URL] Following code works well for listing emails but have some errors and it cannot read email other than ENGLISH language Help Anybody [CODE] <?php // Inbox // Display Messages from … | |
Hi All, Iam using RSF(reasonable servlet faces) i need to clear the fields in the form after user submits it using javascript onload function. can anyone please help me. here is my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:rsf="http://ponder.org.uk/rsf"> <head> <title rsf:id="basic-page-title">Sakai Skin for FlowTalk</title> … Web Development html-css javascript | |
i am implementing a client server arch on LAN, what's more suitable for me to use, jsp or servlets????? let there be max 4 clients for a server...... i m done wid the designing part using AJAX and embedding those in jsp pages. made the database using sql server 2008. … Web Development client-server java-jsp | |
Ok the issue I get is passing variables to dynamic pages for example page1 has a combobox with all states to used to search a database for example: [CODE]<tr> <center><form action="page2.php" method="post" name="statesearch" id="statesearch" > <td><div align="right">State</div></td> <td width="25%" align="center"><select name="state" onchange="statesearch.submit();"> <option value="" selected></option> <option value="AL">Alabama</option> <option value="AK">Alaska</option> <option … Web Development php | |
Hi! how can create advanced api in php/mysql authenticate with api key, userid username etc. any good tutorials etc Please post links for me | |
I have an aspx page that has a listview. Within the listview I have a column named BADGEID. When inserting the BADGEID as a textbox with the below code, everything works properly: <asp:TextBox ID="BADGE" runat="server" Text='<%# Bind("BadgeID") %>' I need this to be a DropDownList and I changed the textbox … |
The End.