52,566 Archived Topics
Remove Filter ![]() | |
I need to iterate through a JSON object in JavaScript or jQuery that is returned from a PHP file with the a json_encode function call: echo json_encode ($varDump); The beginning of the JSON objects looks like the following: ["date","Rescription",{"date":"1715-05-03","description":"Edmund Halley observes total eclipse phenomenon \"Baily's Beads\""},{"date":"1765-05-03","description":"1st US Medical school opened"},{"date":"1797-05-03","description":"Jamaica … Web Development javascript javascript-jquery json | |
Hi, I have been using some tools to generate my php code as i have little knowledge of php. the tools are ok but the support is rubbish. everything is generated in US date and time format and i need it to be in UK. anyway to cut a long … Web Development php | |
I have a php login scripts and the page is secured. But my images on the page can be viewed if you know the direct url. How can i make it to where only logged in users can view images? Web Development php | |
I a method that generates a PDF and the method returns a byte value, but after response.end statement, the shows an error that the "File does not begin with '%PDF-' here is the code: [CODE] private static Byte[] GenerateReports(string templateFilePath, DataTable table, string fileName) { Byte[] Output = null; string … | |
I have done a lot of PHP but never JSP. I have checked tutorial but not gone too far. I see there are Java beans and some servlets which I'm zero brain at. So I have two questions: 1. Where to read a concise tutorial (Not too detailed I mean) … Web Development java-jsp java-swing php session | |
i have been using WAMP so never did a real php install... now i am trying to install php on a windows2003 machine... downloaded php5.3 msi file and finished the installation, added the path to the environmental variable. i can run php file in cmd now. however, i used notepad … Web Development php web-browser web-server | |
How can I change the chmod to 0777 through PhP for a folder with subfolders and all it's content!? Or if I set the chmod for the folder with the subfolders all the subfolders will have 0777 permission as well? Thanks :) Web Development php | |
I'm just going to post my pages here if someone will take a look and let me know where to go from here...sorry, I could have attached files if you would prefer. I am not sure what needs to be in my VB page if anything more is required nor … Web Development asp.net javascript sql vb.net | |
Hello, I'm trying to pass a $counter2 value from php loop to javascript, but $counter2 is incremented so I'm passing the highest value of $counter2, which i not what I want to do. Is there a way to combine values with html identifiers and pass them to js?I would be … Web Development javascript php | |
Hi all. I'm new with jsp and i'm just looking for create a login solution. I use a mysql database and what i'm looking for is what follows: Make a query to my sql database and then insert the output of one field in a variable. I need this variable … | |
i have a datalist that displays the titles of events.When i click a title i want to display the event details like date,venue,description... outside the datalist this is my code: [code] <asp:DataList ID="dlEvents" runat="server" HorizontalAlign="Left" GridLines="Both" OnSelectedIndexChanged="SelectedIndexChanged"> <HeaderTemplate> Events </HeaderTemplate> <HeaderStyle Font-Bold="true" Font-Size="16px" /> <ItemTemplate> <table onmouseover="dg_changeBackColor(this, true);" onmouseout="dg_changeBackColor(this, false);"> … Web Development asp.net | |
Hello friends, I'm creating image slide show. I can isplay images and checked imges (those that i want in slide show). but problem is i want save selectec images so that i can use them in slide show any idea plz help Web Development php ![]() | |
Hi Does Anyone know how to display a table based on user selected fields? In my search box, once the user searches lets say all the female students, all the female students will show with all the fields of that particular table. then if need to print a report i … ![]() | |
Hi there, I have a listview control, on which I have two buttons 1) Wesite 2)Email Me. Note the listview only has the Item and Layout Templates as I will not be editing or inserting. I have assigned both the controls the CommandName="select" so that they both fire the SelectedIndexChanged … | |
Hi, I'm having some requirement where i need to show some value in div tags and latter parse it to save in database. the value which is html escape char are getting translated when in div thus making the input wrong. like some where i'm using & and < they … Web Development html-amp javascript | |
I want this code to work as if [flag==0] then set seatcount to 1 else provide me a message that seat is booked but it does not give me proper response it works for seatcount==1 & shows meassage that its booked but for seatcount==0 then also it provide same message … | |
some days back it was working but i don't why suddenly my java program is not compiling. i have set classpath=".;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet.jar". c:\> javac -classpath HowdyServlet.java it shows error in import java.servlet; statement and likewise in all HttpServlet lines too. or i have tried the other way … | |
In searching the web I can’t find a clear explanation of how to define an array with a key value combination and then how to reference the elements. I want an array that has a key of date and description, this is for a MySQL result set. This seems to … Web Development php | |
i wonder how to do a popup like this daniweb. i mean when your not a member and not login then u click this link. daniweb will display an image to join this forum and lock the page behind it. what is the code? is it using java script? [url]http://www.daniweb.com/forums/thread100886.html#[/url] Web Development javascript | |
Please help me... not able to figure out what is wrong with this code! <?php if($_POST == "submitted") { echo ' <script type="text/javascript"> // Used them both and to my horror, none of them work!!! document.BPC.postback.innerHTML = "postback"; document.getElementById("postback").innerHTML = "postback"; </script> '; } ?> <html> <head> <title> Help me! … Web Development javascript php | |
Hey everyone, Um, I've been working with PHP and MySQL for a few weeks, and to store text I've always been stripping anything but alphanumeric characters, which has worked fine until now. For my next project [I want to create a simple CMS/forum for my website], I need to store … | |
I have a problem with my remember me php function. For some reason it works perfectly in Firefox but not in IE8. I suspect it's something to do with the checkbox? IE seems to automatically remember the user even if the checkbox remains unchecked! So a cookie is set when … Web Development php web-browser | |
Hi, I am having a problem getting an old ColdFusion program to a vb.net program. Its a distributor finder and I'm trying to take the existing code and move it into a vb.net enviroment. the problem is that I am almost there and this particular program has this code: [code] … Web Development asp.net coldfusion | |
I'm getting schema info but not so far able to bind it into datagrid columns, see code below I can print out the column-name and description and want to bind those into data grid columns [code] Dim schemaTable = dbConn.GetOleDbSchemaTable(OleDbSchemaGuid.Columns, _ New Object() {Nothing, Nothing, "VolDataNew", Nothing}) For i = … Web Development asp.net | |
Hello all, I am having some real issues with internet explorer. I have created a jQuery image rotator (flick along a selection of images). Everything works on everything but internet explorer. So much so that Internet Explorer doesn't even display the first image even before the transition. Instead I just … Web Development javascript javascript-jquery web-browser web-design | |
Hi all, I wondered if this was possible. i have a div, which I would like some images to rotate as the background-image so it is a slideshow. In additional, I want a fade in/out effect between the image transition. Basicly, what I'm asking is, how do I do it? … Web Development image javascript javascript-jquery | |
Hello! I have been regularly updating a website for a client, but I really only work in HTML or Flash. The client has a problem with the ASP side of their site, and has asked me for help. I don't really know anything about databases or query languages, and I'm … Web Development asp asp.net client-server flash session | |
ASP.NET Web Project... "Not Web Application", though it might not matter. Normal MasterPage - > Site.Master Forms Authentication Enabled in the Web.Config file [CODE] <authentication mode="Forms"> <forms loginUrl="/Account/Login.aspx" name="aspNetForm" cookieless="UseCookies" domain="www.localitgeeks.com" path="/" defaultUrl="Default.aspx" slidingExpiration="true" timeout="30"/> </authentication> <authorization> <allow users="*"/> </authorization> [/CODE] Ok so that is the Web.config goo for ya. … Web Development asp asp.net javascript-jquery pay-per-click web-server | |
Hi I have a basic PHP contact form using JS validation for empty fields, format checks, etc, which all work fine. I now need to add a mail() using the user input. I've made a version work, using some basic validation in PHP and comment out the JS, but I … Web Development javascript php | |
Hello all....i just wanna ask maybe a simple question.....here it is...i have develop one system..using php ,mysql...and have multiple user login to the system..and..what i want is, after the user log in, all the detail about the logged user would be retrieve in another page based on log in detail … Web Development php | |
Hello all, I wrote a jsp page. It has a form with a submit button that sends the data to some algorithm. I would like the submit button to load a "please wait" html. After the algorithm is done - that "please wait" page will be auto redirected to a … Web Development algorithm http-protocol java-jsp | |
Hi all, I have problem connecting to remote MS Access DB using asp.net. The MS Access DB i have URL , local path and write access. I have used the following connectionstring : [CODE] //con.ConnectionString = "Provider=MS Remote; Remote Server=http://X.X.X.X; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\\yy\\XXX.mdb;Persist Security Info=False"; [/CODE] Error is : … Web Development asp.net microsoft-access | |
hi i want to convert this jsp code to c#... JSP CODE--------------- [code] ResultSet resultset4; try { Statement statement1 = connection.createStatement(); String strSQL = ("SELECT * FROM IllnessMaster"); resultset4 = statement1.executeQuery(strSQL); while(resultset4.next()) { str2 = resultset4.getString("IllnessId");//Here getting illness ID dd = str2.length();//taking IllnessID length str5 = str2.substring(1,dd);//here making IllnessId into … | |
How can I make a web hosting service? What do I need? What must I do? I wish to offer my clients web hosting service and website design service. Thank you 4 your help, Web Development web-design web-server xml | |
i want to convert HTML page into asp.net , i tried changing the extension and saving it as .aspx . It worked but most of the options didnt work apart from images like submenus, links and other things so i want to know how to fully convert an html page … | |
I have 3 dropdownlist controls on one web page and these controls get populated from database one after user selects one of the values of previous dropdownlist control. For example, values in 3rd dropdownlist gets populated when user selects value from second dropdownlist. Values in second dropdownlist gets populated when … Web Development asp.net | |
i have written a small code to store the checkbox values into the db. But its showing me a parse error . Unable to figure out what it could be . [CODE] <?php $dbc = mysqli_connect('localhost', 'root', '', 'test') or die('Error connecting to MySQL server.'); if(isset($_POST['language'])) { $language = $_POST['language']; … Web Development php web-server | |
can anyone tell me how to print out datagrid to paper using web control? i am using asp.net in vb.net.... is it need to use javascript to write at the html part? can someone kindly teach me pls? i need to know the print function....thanks... Web Development asp asp.net javascript vb.net | |
I need to get a file name from a jpg without the extension to use as id in a span tag. Here's the code I'm using: [CODE] <?php $result = mysql_query("SELECT * FROM $data_sales_earrings ORDER BY id ASC"); while($row = mysql_fetch_array($result)) echo " <span id=\"need file name from jpg front\"><img … Web Development file-system php | |
Want to make a pulldown for hours and I want it to be on the hour now (it is now 22:40 so the pulldown should be on 22). Here is the code: [CODE=php] <?php $hour_now= date(G); $minute_now=date(i); ?> <form action="index.php" method="post" id="schedule_form"> <p> <label>Hour</label> <select name="send_hour"> <?php for($i = 0; … Web Development php | |
I need to add a new sandwich name, description, origin, price and picture to a database. These are to be added to multiple tables. Ignore the drop down menu, it doesn't have anything to do with the query. The problem I'm having is getting the new product_id which is auto … Web Development data-structure gui php | |
Please let me know how to fix this. description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:599) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:141) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.lang.ClassNotFoundException: org.apache.jsp.one1_jsp java.net.URLClassLoader$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(Unknown Source) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:597) … | |
Hello guys, i'm having an issue with updating the record in my database. everything seems to work well except that whenever i try updating the record via the mysql update procedure, it just returns with no errors and the record is not update. i tried echo'ing the $result to see … | |
![]() | Hi. Please refer the code. I am having trouble in the 3 times nested loop (at the end) [code="php"] <?php error_reporting(E_ALL); ini_set('display_errors', true); ini_set('html_errors', true); function remove_blank_spaces($strWhite) { trim($strWhite); $string = ""; for($i=0; $i<strlen($strWhite); $i++) { if($strWhite[$i]!=" ") { $string .= $strWhite[$i]; } } return $string; } function get_all_substrings($input, $delim='') … ![]() |
hello, can you please help me? i wanted some clickable texts which opens not 1 but 2 urls in 2 different iframes. this code works on ie and opera but not on ff. i don't know what to do. thanks! [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"> … Web Development javascript | |
So lets say i have this url: $url = $_POST['site']; I would like to remove the [url]http://,[/url] the www. and the last "/". The trick is that the $url can be witten like this: $url = 'http://site.com/' like this: $url = 'www.site.com/' or even like this: $url = 'site.com/'. And … Web Development php | |
Hey, I have been trying to devise a way to insert a formatted PHP date() variable ($expires) into a publicly available javascript countdown clock. Obviously, this is made difficult because PHP is server-side and Javascript is client-side. This first piece of code is me adding a number of days to … Web Development client-server javascript php web-server | |
i'm not quite sure this is the right forum to post this... please forgive me... i'm making a servlet it takes info from an html form and uploads it to a data base using jdbc that works just fine each time i run it, i get a console report that … Web Development java-jsp | |
Hello, I have two cfselects set up so that selecting an option in one populates the options of the 2nd select. It works perfectly on my local environment, but when I test it on our QA server, it gives the error: "Bind failed, element not found: sltBiz" where sltBiz is … Web Development coldfusion javascript |
The End.