52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Morty222

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
Member Avatar for wrivera
0
78
Member Avatar for nate22

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
Member Avatar for nate22
0
95
Member Avatar for desiguru

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.

Web Development mysql php
Member Avatar for almostbob
0
86
Member Avatar for K?!

I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?!

Web Development java php
Member Avatar for wrivera
0
181
Member Avatar for bhanu1225

How can I execute a PHP script using command line? example plzz ..

Web Development php
Member Avatar for bhanu1225
0
85
Member Avatar for stangn99

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
Member Avatar for diafol
0
90
Member Avatar for cableguy31

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
Member Avatar for almostbob
0
222
Member Avatar for silayse

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 …

Web Development asp.net session
Member Avatar for silayse
0
127
Member Avatar for Ana D.

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
Member Avatar for Ana D.
0
115
Member Avatar for genieuk

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
Member Avatar for Atli
0
248
Member Avatar for Zagga

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
Member Avatar for Zagga
0
116
Member Avatar for Venom Rush

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
Member Avatar for Venom Rush
0
74
Member Avatar for cane23

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
Member Avatar for nav33n
0
85
Member Avatar for sam023

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
Member Avatar for digital-ether
0
139
Member Avatar for CFROG

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
Member Avatar for eliza81
0
100
Member Avatar for Tess James

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
Member Avatar for Tess James
0
67
Member Avatar for omotoyosi

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
Member Avatar for omotoyosi
0
86
Member Avatar for muralibobby2015

i am getting this error but i think there is no error. any one look at this [CODE]$affiliateForm = array( "username"=&gt;array("User Name","text",""), "password"=&gt;array("Password","password",""), "site"=&gt;array("Your Web Site","text","http://"), "email"=&gt;array("Your Email","text","yourname@yoursite.com"), "akey"=&gt;array("","hidden",""), "ptype"=&gt;array("Payment Method","select","check|paypal"), "pemail"=&gt;array("Paypal Email","text",""), "address"=&gt;array("Your Address","textarea","") );[/CODE] i am getting [B]Parse error: parse error, unexpected '=', expecting ')' [/B] on this …

Web Development php
Member Avatar for pritaeas
0
73
Member Avatar for lifeworks

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
Member Avatar for lifeworks
0
475
Member Avatar for Scooby08

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
Member Avatar for jerickduguran
0
12K
Member Avatar for mshravs

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
Member Avatar for mshravs
0
95
Member Avatar for xuexue

i just want to know, how can i put a live bar graph in a dynamic page? thanks in advance ^^

Web Development php
Member Avatar for xuexue
0
143
Member Avatar for bufospro

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
Member Avatar for nav33n
0
157
Member Avatar for dan_ord

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 …

Web Development html-css php
Member Avatar for cwarn23
0
157
Member Avatar for dazlerd

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 …

Web Development image php session
Member Avatar for FlashCreations
0
174
Member Avatar for asadzaheri

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
Member Avatar for FlashCreations
0
423
Member Avatar for itisnot_me

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
Member Avatar for itisnot_me
0
103
Member Avatar for itisnot_me

ok so what i want to beable to do is have a coded up website template (with php in it) that is stored in the DB. and i would like to call it in a query. That part works fine but what doesnt work is the php being called from …

Web Development oracle php
Member Avatar for itisnot_me
0
334
Member Avatar for cableguy31

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
Member Avatar for vaultdweller123
0
111
Member Avatar for Erick

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 …

Web Development mysql php
Member Avatar for almostbob
0
212
Member Avatar for Sameer1

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]< …

Web Development display php
Member Avatar for SameerMughal
0
194
Member Avatar for gunnarflax

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 …

Member Avatar for gunnarflax
0
149
Member Avatar for Phaelax

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 …

Web Development mysql php
Member Avatar for Phaelax
0
112
Member Avatar for barryw33

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
Member Avatar for ShawnCplus
0
155
Member Avatar for roswell67

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 …

Web Development asp.net c# mysql
Member Avatar for eliza81
0
1K
Member Avatar for zeeshan_shan

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
Member Avatar for musthafa.aj
0
215
Member Avatar for emhmk1

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
Member Avatar for emhmk1
0
238
Member Avatar for deepakraj

[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)

Web Development apache java-jsp
Member Avatar for javaAddict
0
223
Member Avatar for farsen

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
Member Avatar for kvprajapati
0
142
Member Avatar for AdventDeo

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
Member Avatar for parry_kulk
0
405
Member Avatar for AdventDeo

[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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
Member Avatar for AdventDeo
0
159
Member Avatar for noescape

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
Member Avatar for noescape
0
75
Member Avatar for hooligan2008

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
Member Avatar for ~s.o.s~
0
175
Member Avatar for GradStudent

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
Member Avatar for johnthompson
0
120
Member Avatar for nats01282

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 …

Web Development mysql php
Member Avatar for FlashCreations
0
91
Member Avatar for benk1

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
Member Avatar for benk1
0
2K
Member Avatar for metalstorm

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
Member Avatar for metalstorm
0
81
Member Avatar for kumiyare

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
Member Avatar for kumiyare
0
308
Member Avatar for takeshi

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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="pre1">&nbsp;&nbsp;<th><a href="">View Profile</th></a></td> <tr></tr> <td>2.Name presidents&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input …

Web Development php
Member Avatar for FlashCreations
0
163
Member Avatar for szkoda

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"> …

Web Development cms html-css php
Member Avatar for szkoda
0
110

The End.