52,566 Archived Topics
Remove Filter ![]() | |
I am trying to group a list of event dates by their ending date. So if I have 15 events that end on the same date, I want all of those tr bgcolors to be red, then the next group, lets say 8 events all end on the same date, … Web Development php | |
I'm not good with AJAX but am trying to learn for this project. I've picked apart many galleries, some of which are kind of similar to this idea, but surprisingly I haven't found one that is actually just like this... [IMG]http://www.22graphics.com/slideshow-concept.jpg[/IMG] In case above image isn't loading or right side … Web Development javascript | |
I have a database in which my parent_id same for many rows. So I wanted to write a code which groups all similar images in a paragraph. How can I do this. | |
I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?! | |
How can I execute a PHP script using command line? example plzz .. Web Development php | |
Any idea how I can do this? This is what I tried, and it doesn't work: [CODE] $query="SELECT bookingdata.*, users.* FROM bookingdata, users WHERE bookingdata.userid = users.userid"; $sql=mysql_query($query); while ($row = mysql_fetch_array($sql)) { $id=$row['id']; $userid=$row['userid']; $bookingdata=$row['bdate'];......etc. etc. } ?>[/CODE] Web Development php ![]() | |
I'm working on a contact form. I have the form being checked by a PHP script once it's submitted. If the script finds an error, it will load a new page with the error message and then redirect back to the form after 10 seconds so the user can correct … Web Development javascript | |
added checkbox on gridview this method: [CODE]<asp:TemplateField> < ItemTemplate> < asp:CheckBox runat="server" ID="CheckBox1" /> </ ItemTemplate> [/CODE] I want to save selected values another table but I did not achive.First I try this code and then I will convert this delete statement to select statement ,it deletes checked value but … | |
Hi, In my page I have a GridView in which I have an Item Template with a label and Edit Template with a DropDownList. Something like this: [CODE]<asp:GridView ID="MyGridView" runat="server" OnPageIndexChanging="MyGridView_PageIndexChanging" DataKeyNames="Id" OnRowEditing="MyGridView_RowEditing"> <Columns> <asp:TemplateField HeaderText="Use" ItemStyle-Width="140px" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:Label ID="UseLabel" runat="server" Text='<%#Eval("ImageUse")%>' /> </ItemTemplate> <EditItemTemplate> <asp:DropDownList ID="UseDropDownList" runat="server" OnDataBinding="UseDropDownList_DataBinding" … Web Development asp.net | |
Hello, I was going to post the full script but don't think it will ne needed. Basically i have this query: [CODE]// query db $query = mysql_query("SELECT * FROM `userinformation` WHERE `username` LIKE '%$search%' OR `email` LIKE '%$search%' OR `id` LIKE '%$search%' OR `first_name` LIKE '%$search%' OR `last_name` LIKE '%$search%' … Web Development php | |
![]() | Hi folks, I'm having a real "Dime Bar" moment! :-/ I have written a small function to display error messages. I can't work out why I have to use a preceeding slash to include my footer.php but not my header.php when they are both in the same directory. [CODE=php] function … Web Development php ![]() |
Hi all I'd like to know how/if you can pause a loop for a few seconds and let it start again from where it stopped. Web Development php | |
i am trying to use the explode function to take a variable as the string under consideratiom but its not working. can some one help me on this one please?? thanks [code] <?php $hostname = "localhost"; $username = "root"; $password = "hayden"; $database = "ecng3020"; $con = mysql_connect("$hostname","$username","$password"); if (!$con) … Web Development php | |
i want to convert hexa to string in php... i google and and got this function... [code=php] function hexToStr($hex) { $string=''; for ($i=0; $i < strlen($hex)-1; $i+=2) { $string .= chr(hexdec($hex[$i].$hex[$i+1])); } return $string; } [/code] it works but not in case of " 062E063506450020003500300030002E0030003000300020004B005700440020064506460020062D06330627062800200032003500380038062706440645062A06280642064A00200031002C003400320031002E0036003100320020004B005700440020062706440645062A06480641063100200031002C003400320031002E0036003100320020004B00570044 " kingly guide me little … Web Development php | |
I'm having some trouble validating radio groups. I thought this would be simple enough but it's not turning out that way. The form is rather long so I have it broken down into sections, each in it's own div. The form shows the first 11 inputs and when you click … Web Development javascript | |
When viewed in IE8, my web pages have some alignment issues. Even if I give the CSS style property text-align:center, the text is rendered as left aligned in IE8. Any Solutions?? Web Development asp.net | |
Hello All, Please i have a javascript to Open a Look up table but it works only if it is clicked twice. What do i do, i want the user to only click once for the lookup page to come up. Web Development javascript | |
i am getting this error but i think there is no error. any one look at this [CODE]$affiliateForm = array( "username"=>array("User Name","text",""), "password"=>array("Password","password",""), "site"=>array("Your Web Site","text","http://"), "email"=>array("Your Email","text","yourname@yoursite.com"), "akey"=>array("","hidden",""), "ptype"=>array("Payment Method","select","check|paypal"), "pemail"=>array("Paypal Email","text",""), "address"=>array("Your Address","textarea","") );[/CODE] i am getting [B]Parse error: parse error, unexpected '=', expecting ')' [/B] on this … Web Development php | |
Hi I think Im dealing with an IE insertBefore bug, the script runs fine in Chrome, I have created my own modal box which gets inserted as a new node - the first inside the <body>... however, in IE, the new box is inserted within the first <div> inside my … Web Development daniweb-bug javascript | |
I have a small problem I'm thinking.. I have a form that lists items and next to each item there is a input text field for the user to choose the quantity of each item they wish to order.. When the form is run through it spits out this array: … Web Development php | |
after i deployed my site through iis i have a problem with the viewing of the website in the webpage. a following error is occuring when i'm trying to browse the site . and when i'm trying to deploy it in the other system......then it is showing the webpage. Site … Web Development asp.net publishing | |
i just want to know, how can i put a live bar graph in a dynamic page? thanks in advance ^^ Web Development php | |
Hi, I would like to make two icons in my page so as to click on them and increase or decrease the font size of paragraph. The problem I have is that I want to change the size only for a paragraph. My paragraph's text is from a database. So … Web Development javascript | |
![]() | Hi all, I'm having a problem getting a cron job to execute properly. I'm using my hosting control panel to set the task up and execute a script. What I want the script to be able to do is search for jobs that were posted over 7 days ago, loop … |
Hi I am currently working on a web site which I had to modify to add the option of either using pounds or euros forthe pricing. I have two image input types which onclick I want to set the session variable $_SESSION['currency'] to GBP or EURO, and then refresh the … | |
Hi everybody, would you please tell me what's wrong with this code that generates the following error: Warning: fopen(C:\Documents and Settings\Sando\Desktop\boys.gif) [function.fopen]: failed to open stream: No such file or directory in /home/domain/public_html/webs/divisions/chek.php on line 108 [B]data inserted without any picture[/B] although it works fine and great @ localhost MySQL … Web Development file-stream php session | |
ok so just ran into a problem using tinyint instead of int i have hit the 127 max. but i did not realize that on time and now i have about 100 entries that i need to fix with a loop to do an increment of a counter this is … Web Development php | |
I have a php script that sends the contents of a form via email. I have some error checking in the script to make sure that the required fields are filled out. Right now, if there's an error, it just displays an error, with what's missing on a simple html … Web Development php | |
Hello to everyone, I'm new here - Great forum. I would like to update an entire database at once. I use Mysql database and PhP scripts. I explain : I have to update prices in one column of the DB by puting +10% This is what I have but it … | |
HI all, I am trying to display user (ad displayname) welcome message on my web site but I am not sure how to achieve it. I found somthing online but that doesn't make any sence to me as I dont have nay value of $user_ID in the below code, [CODE]< … | |
Hi, I created a script which I use to clean my database from missing entries. With it I both check if a file on the server is missing a database entry and if a database entry exist with no corresponding file on the server. The user first submits a form … Web Development client-server file-system php storage | |
User fills out a web form containing about a dozen or so combo boxes. As each comboBox has its options filled from values contained in a database, this limits what the user can input. However, as we know this can be bypassed, hence the need for validation even on a … | |
hi, this is my first post. I am a php coder and know very little javascript. I have nearly finished a dating site for a client. Thing is he wants private chat in it. I have found some opensource chatroom code that I am trying to hack to make work … Web Development javascript | |
Hello, I am having trouble converting my "MySQL" statement to a prepared statement. here is the part of the code that i need help with. How Do I make below statement a prepared statement and can actually read the result afterwards. this way everything works perfectly, except that its not … | |
hi iam working on a project and i want to sent and access data in MS Access using jsp so, Please tell me how can i do this Web Development java-jsp | |
Hi everyone, i was wondering if you could help me out, i'm working on a project where the user can login from any part of the site and a function is called when the button is clicked. The problem is if the user for example is on this url [url]http://localhost/profile.php?id=12[/url] … Web Development php | |
[B]Please tell me how i can run jsp page in Linux Tomcate server... i found the error - [/B] org.apache.jasper.JasperException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:361) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.io.FileNotFoundException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:278) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | |
Hi. First of all, I have done a few C# applications, but are quite new to C# asp.net web applications. What I am trying to receive is a simple Media player control on an aspx page. And furthermore a button, that starts the media player with a videostream url. Thats … Web Development asp.net | |
Any ideas on how to make the following code work for both IE and Mozilla? [CODE]function AddRow() { if (navigator.appName=="Microsoft Internet Explorer") var morerow=document.getElementById("tbl").getElementsByTagName("tbody")[0]; else if (navigator.appName=="Mozilla") var morerow=document.getElementById("tbl"); var newtr=document.createElement("tr"); var xtra=document.getElementById("xtra"); var dname=document.getElementById("dname"); morerow.appendChild(newtr); var newtd0 = document.createElement("td"); newtd0.innerHTML = xtra.innerHTML; newtr.appendChild(newtd0); var newtd1 = document.createElement("td"); newtd1.innerHTML = … Web Development javascript | |
[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> </div> <div id="dname" style="display:none; visibility:hidden"> <input name="Name[]" type="text" size="35"> </div> </table> .... <input type="button" name="Add" value="More Company" onclick="return AddRow();"> .... //the following javascript function is saved in another .js file which is then called from the main php file when the … Web Development php | |
Hi. in open source package moodle i came across "global $CFG" line of code in setup.php in config it is used as [CODE] $CFG->dbtype = 'mysql'; $CFG->dbhost = 'localhost'; ............ [/CODE] $CFG is global object but there is no class. it is behaving like an array. how there can be … Web Development open-source php | |
I use to pass data between *.java and *.jsp, since this is a MVC framework, it will go by the *.java first. so i used request.getSession().setAttribute("test", "01010101010") to save the value, and then in *.jsp, use request.getSession().getAttribute("test") to get value. But it returns a strange string "682342348" all the time. … Web Development java-jsp | |
I have a Vista Home Basic Edition and I need to complete my School projects that need IIS .. I understand there are not much work -arounds for this issue.. 1) I dnt think i have the Vista Installation CD with me.. 2) Can i upgrade it to Vista Professional … Web Development asp.net windows-vista-7-8 | |
Hi all, Im new to php with mysql, i have connected sucessfuly to my database, But how do i go about creating a register script and login script? I already have 10 page website created by me in html/php But now i want to add a members area i have … | |
Hi Guys I've got a MySQL product database on a website, and I wrote a php script that searches the database and returns the results in an html table with no problems at all. My problem comes when trying to display x results (I've been trying 5) per page. I've … Web Development php | |
hi all, ive downloaded the DHTML window script from here : [url]http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm[/url] and have it running on my site. i also have a DTHML / ajax chat running on the site which is currently on the main page in an iframe. im trying to put this iframe inside the DHTML … Web Development html-css javascript php | |
I have a slideshow of quotes based on the "Ultimate Fade-in slideshow (v2.1)" at Dynamic Drive: [url]http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm[/url] This is right under my navigation bar, and the drop-down menu items are hidden behind the javascript slideshow. Some background: The reason I did it this way because I first started out with … Web Development flash javascript | |
Hi.Im trying to create a program that would simply [B]count of votes[/B] and [B]save in database[/B] after voting of the students,[B]results of all votes[/B], and [B]displaying people that have voted[/B].. here's my html. [CODE]<h2><center>Select Candidates</h2> <p><table cellspacing=5 cellpadding=5> <tr> <th>President:</th> <tr></tr> <td>1.Name presidents <input type="radio" name="pre1"> <th><a href="">View Profile</th></a></td> <tr></tr> <td>2.Name presidents <input … Web Development php | |
Im trying to create an if statement based on the value in my database. [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>E Movies :: Rent A Movie</title> <link href="styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="header"> </div> <div id="menu"> … |
The End.