17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for darkagn

Hi all, I am fairly new to PHP (my experience is mostly in Java) and I have inherited a project that was initially implemented in PHP4. I am updating it to use PHP5 and at the same time I am trying to add Logging to the project. I am using …

Web Development php
Member Avatar for darkagn
0
144
Member Avatar for justapimp

I have been assigned this project to create a dynamic key code and I don't have a clue about how I can get it done. The problem: I am given a 10 digit number like a phone number 5627775698 and I need to parse through the number and set every …

Web Development asp.net
Member Avatar for justapimp
0
105
Member Avatar for adaykin

Hello, I want to delay showing all of my links on my page for a few seconds until all the animation I am doing is done. I was wondering if there was a way I could delay placing them using javascript. In other words I want them to not show …

Web Development javascript
Member Avatar for ~s.o.s~
0
345
Member Avatar for hemgoyal_1990

Hi All, I got seem a problem with my php. How I Can View my PHP File on Offline Mode... Plz Give me the Solution to View my PHP file on offline mode... I Dont Have any website....

Web Development php
Member Avatar for effu
0
122
Member Avatar for kings

[CODE]Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/car/publ/testing/detail.php:1) in /home/car/publ/testing/detail.php on line 2[/CODE] i'm getting this error.i dont have any empty whitespace in my code. [CODE]<?php session_start(); ?> <html> <head></head> <body> <form> <?php //code ?> </form> </body> </html>[/CODE]

Web Development php session
Member Avatar for effu
0
99
Member Avatar for jino

Hi all,, I am new to joomla.. I want to build a news portal site using joomla.. Can any one help me to wired in the news portal extension to my joomla site... I am now working in localhost.. Please help me if anyone know about this. Thanks in advance.. …

Web Development php
Member Avatar for jino
0
193
Member Avatar for queenc

my actual link is [url]http://www.website.com/testing/xyz.php?id=2[/url] but when i use PHP_SELF it is refreshing and the url turn as [url]http://www.website.com/testing/xyz.php[/url] please reply

Web Development php
Member Avatar for queenc
0
141
Member Avatar for camdes

I am trying to create a photo gallery and there are various reasons why I need to create it from scratch. Below is the code for my upload file and I have been building it gradually. I have now added the resize function. I had placed this function in a …

Web Development php
Member Avatar for bad_dreams99
0
109
Member Avatar for queenc

hi i have a application where i have a text box when the user enters data in the text box i want the data to be inserted in the db and the value displayed in the same page.something like daniweb post quick reply.i know i have to use ajax but …

Web Development php
Member Avatar for queenc
0
261
Member Avatar for swapna7999

is it possible to run a vb application using a link in a php page

Web Development php
Member Avatar for swapna7999
0
53
Member Avatar for NancyNancyNancy

I'm looking for a piece of code I used years ago to reveal a link at a later date. All I had to do was wrap the link in this piece of code and - presto - it revealed on the date and time that I wanted it to reveal. …

Web Development display javascript
Member Avatar for NancyNancyNancy
0
305
Member Avatar for Scottmandoo

Ok below is my display script, though I have no idea how to make an edit script so could someone either make one for me or if thats too much to ask atleast help me make one. [CODE=php]<? $username=""; $password=""; $database=""; $con = mysql_connect('localhost',$username,$password) or die('Error: ' . mysql_error()); mysql_select_db($database) …

Web Development php
Member Avatar for Scottmandoo
0
125
Member Avatar for yassar

Hi, I am working on a database related project for a course. I have decided to use mysql as a database but I cannot decide which web programming language to use. I am trying to decide between asp.net and php, because these are the only two web programming languages i …

Web Development asp asp.net php
Member Avatar for Fungus1487
0
145
Member Avatar for assgar

Hi I have 7 arrays for all containing the same data:time_id, start_time, end_time and colour. Each array represent a day of the week. There are a total of seven columns to display. I have combined them into a three multi dimentional to display data form the 7 layers which are …

Web Development php
Member Avatar for assgar
0
115
Member Avatar for lordx78

[code=javascript] var cBrand = document.getElementById('cBrand'); var cType = document.getElementById('cType'); var cStyle = document.getElementById('cStyle'); var cFrame = document.getElementById('cFrame'); var cGroupSet = document.getElementById('cGroupSet'); if (empty(cBrand) && empty(cType) && empty(cStyle) && empty(cFrame) && empty(cGroupSet)) { alert("Please Choose atleast 2 Criteria"); return false; }else{ return true; } [/code] The above code is not working …

Web Development javascript
Member Avatar for lordx78
0
109
Member Avatar for shadiadiph

hi i have a table i can write to it ok but i need to know the correct syntax to retrieve the last updated record i have been using something like this but it doesn't work.?? $sql = "select * from tblexdetails where intexchangeID='$tid'"; can anyone ive me any pointers …

Web Development php
Member Avatar for ultra vires
0
3K
Member Avatar for OmniX

This is what happens: I have an input submit button. On mouse over text is changed from RED to WHITE. On mouse out text is changed from WHITE to RED. Simple eh? Well IE does it fine but FF makes everything change to RED border, etc. [code] jscript: function over(button) …

Web Development javascript
Member Avatar for OmniX
0
210
Member Avatar for swingingstars

Hai... I'm new to Ajax.. I've seen many cool site pumped with ajax requests. How can I fill the content with ajax responseText ONLY after the page structure has been fully loaded? is it matters if the file is not an html? is .html file faster to render than .php? …

Web Development javascript
Member Avatar for swingingstars
0
180
Member Avatar for lifeworks

Hi Busy putting together my first competent attempt at a PHP/MySQL website, its a real estate package of sorts. I'd like to bring up a brief description of each house (in the DB) initially and when the user clicks on the photo or name etc, they will be directed to …

Web Development perl php
Member Avatar for prethum
0
116
Member Avatar for mikeandike22

ok im new to PHP and sortof need to learn the basics for my job and i got the oreily PHP 5 book and in some of the examples i keep getting a parse error. here is an example [php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta …

Web Development first-post php
Member Avatar for gcardella
0
146
Member Avatar for swingingstars

Hi... when i use mysql queries with php, is there any way to load my page faster? Can certain divs or tables that use mysql query being executed last? after the page fully loads?

Web Development mysql php
Member Avatar for swingingstars
0
166
Member Avatar for Scottmandoo

In my last topic i quess i was asking to much so no one would help me, so this time ill take it one step at a time, heres my first problem. [CODE]<? include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM tutorials WHERE tut_program='Photoshop' AND tut_category='Text …

Web Development display mysql php video
Member Avatar for prethum
0
2K
Member Avatar for blufab

I am making dynamic changes to my current page's DOM with javascript, and would like to visually inspect the code that was rendered. Is there a easy way to do this? Off the top of my head I was thinking i would have to transverse the DOM and output all …

Web Development html-css javascript
Member Avatar for swingingstars
0
76
Member Avatar for cmills83

I am still new to CSS, how would I add a drop shadow around the main conent of this page? [url]www.racexpressions.com[/url] I have been trying for a while but I can't seem to get it to work. Thanks!

Web Development javascript
Member Avatar for borith
0
261
Member Avatar for aran87

hello ive used disabled="true" but this disables text from been inserted into a database i need a function which does'nt allow data to be entered into a textbox but still passes information to next page or a database what could i use?? thanks

Web Development php
Member Avatar for phper
0
76
Member Avatar for cmhampton

I have a data layer class built with the dataset designer that I have added as a reference (compiled dll) in a project. When I run the app locally from Visual Studio, it runs just fine. However when I move it to the hosted server, I get "Type 'H2C2DataLayer.h2c2DataSet.topicsDataTable' is …

Member Avatar for cmhampton
0
133
Member Avatar for kickinmhl

I am having this compatibility probelm with IE vs. Firefox. The below code works perfectly fine in IE but not in Firefox. Essentially it is a pair of radio buttons and an Iframe below it. I want the Iframe content to change when the radio button option is selected. the …

Web Development javascript
Member Avatar for ~s.o.s~
0
185
Member Avatar for culebrin

Hi all, I need a more elegant way to do the convertion between different cultures First I parse the field into the default culture (en-US) like this, [code]Dim Format As New System.Globalization.CultureInfo("en-US", True) Dim sFecha As Date = System.DateTime.Parse(me.TextBox1.Text.Trim, Format, Globalization.DateTimeStyles.None)[/code] What I need is a way to show in …

Web Development asp.net
Member Avatar for culebrin
0
100
Member Avatar for Beryl

[code=html]<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="com.py.db.*, java.sql.*" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="style.css"> <title>Registration</title> </head> <body> <% String id = request.getParameter("login_id"); String password=request.getParameter("password"); String email= request.getParameter("email"); DataSource ds = new DataSource(); ds.executeUpdate("insert into user …

Web Development html-css java-jsp
Member Avatar for jwenting
0
98
Member Avatar for maddogsprofiles

these are the error codes that keep coming up: Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/maddog/public_html/profiles/v. 2.0/functions.php on line 4859 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/maddog/public_html/profiles/v. 2.0/functions.php on line 19 Warning: mysql_num_rows(): supplied argument is not a …

Web Development php
Member Avatar for ultra vires
0
101
Member Avatar for rrocket

I am trying to display the results of a store procedure, but cannot seem to get the Move Next to work for me. Without it I am currently only getting the first row. Here is what I have so far: [code=asp] Set x1 = server.CreateObject("ADODB.Command") Set RS = server.CreateObject("ADODB.Recordset") With …

Web Development asp session vbscript
Member Avatar for rrocket
0
161
Member Avatar for cork

Hi. I'm trying to create a cookie where the name is the username that a user submits through a form and the value is the number of their visits. I can't get the number of visits to increment. Any ideas why this is not working? Heres my code: [code]<?php $Username …

Web Development php
Member Avatar for cork
0
1K
Member Avatar for kevin wood

does anyone no how to make an image in IE transparent? my images work fine in Netscape/Firefox but display with white backgrounds in IE?

Web Development javascript
Member Avatar for Inny
0
97
Member Avatar for slacke

I have php code for simple file uploadings. I have index.php with form [CODE] <form action="upload.php" method="post" ENCTYPE="multipart/from-data"> Choose file <input type="file" name="userfile" size="50"> <input type="submit" value="Upload"> </form> and upload.php <?php $uploaddir = '/var/www/htdocs/upload/data/' $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); * if(is_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { * echo "file uploaded."; } else { …

Web Development apache php
Member Avatar for slacke
0
106
Member Avatar for jessc0108

Hi can anyone help. i have a table called student and i have set up a link to it using gridview i have set it up so you can edit the field CourseID does anyone know if i can set it so that edit will only be shown where the …

Web Development asp.net
Member Avatar for ptaylor965
0
78
Member Avatar for aran87

hello people ive got a signup form which allows people to signup and login but to signup they enter there email address in which is then used as there login name, its all working but when the next user signs in they mite type the same email address in so …

Web Development php
Member Avatar for somedude3488
0
115
Member Avatar for mortalex

Hey guys, I've heard that you can write php code when its combined with javascript, you just need to echo"" out all the javascript functions. So i've done this and it is working.. to a degree. From using Firebug to test the page, the javascript is coming through and it …

Web Development javascript php
Member Avatar for mortalex
0
140
Member Avatar for macslayer

Hello again, This may or maynot be proper thread for this topic, but here it is. I have a coldfusion 7 serve that I am running a page on, that uses hash(<email>,"MD5") all it well and good makes me a hash string and all. I store this hash and in …

Web Development coldfusion web-browser
Member Avatar for macslayer
0
152
Member Avatar for Slade

Howdy guys! I need help with something (yes, again). What my plan is, is to have two user inputs on a website, one of these inputs will be the header for the html e.g. "DaniWeb TechTalk computer support", the other for the page content, e.g. "Hi, my name is zorba...". …

Web Development asp.net display vb.net
Member Avatar for mallyajiggs
0
408
Member Avatar for aran87

Hello ive got a form where the users enter there details on a form then click on submit which then should update there telephone number, where is says where Email= $_Post[Email]") thats one of the fields that automatically appear the email cant be updated, this code below luks correct and …

Web Development first-post php
Member Avatar for sukhy_1
0
62
Member Avatar for Fenerbahce

Hi, This code works fine but, when i choose "Female" from selectbox, it sets "Male" in the selectbox again. What is the problem? Thanks [code] <?php if (!isset($_POST["sex"])) { print "Please start!"; } else if ("Male" == $_POST["sex"]) { print "Male !"; } else if ("Female" == $_POST["sex"]) { print …

Web Development php
Member Avatar for kevindougans
0
90
Member Avatar for roby4eldiablo

Hi all, i must create new Cookie key into an existent cookie but i must create them dynamically. I need that the name of new key are generated from a "for" or simply from a variable. This is the piece of code interested. I want to know what i can …

Web Development asp
0
83
Member Avatar for maddogsprofiles

OK so i bought a Myspace clone for my web site, [URL="http://www.maddogsprofiles.com"]http://www.maddogsprofiles.com[/URL], but it doesn't work. Why you ask, because the functions.php file is all screwed up! My admin panel doesn't work and the site is a basic demo site. I got like 4 different error codes from it! And …

Web Development flash html-css javascript php session
Member Avatar for maddogsprofiles
0
232
Member Avatar for aran87

Hello ive got a while loop and when the user selects one result from the loop it displays the chosen result and inserts it into the database table but i want the selected row to go to a table depending on one field from the while loop. there are three …

Web Development php
Member Avatar for sukhy_1
0
116
Member Avatar for scru

Any script with an error in it shows up blank on firefox. In IE, however, I get html 500 (internal error). I figure PHP isn't echoing its errors back to the client. Is there a way to set this behavior?

Web Development display php
Member Avatar for scru
0
83
Member Avatar for vishwajit

Hi, I want to configure php 4.3.2 on windows 2003 server. I installed binary but I am not able to view php pages on iis 6. Can anyone help please? Thanks in Advance Vishwajit

Web Development php windows-server
Member Avatar for vishwajit
0
77
Member Avatar for nickyspace

Hi I have issue regarding the mail, which is not sending to my mail account. 1. <html> 2. <body> 3. <?php 4. if (isset($_POST['email'])) 5. //if "email" is filled out, send email 6. { 7. //send email 8. $email = $_POST['email'] ; 9. $subject = $_POST['subject'] ; 10. $message = …

Web Development php
Member Avatar for nickyspace
0
110
Member Avatar for aran87

hello people i basically i need some information ive got a booking website which allows users to book a hotel room but once they book the room i dont want that room available to anybody else, im using Mysql databse linked to php, in the database i got a colum …

Web Development mysql php
Member Avatar for phper
0
122
Member Avatar for mrcniceguy

Can anyone show me how i can view the images which i sent to msql database, i open the msql console, and type the folowing but nothing displayed: >SHOW DATABASES; >USE photos; >DESCRIBE image; >SELECT id,image FROM image; then the id displayed № 1,2,4,5,6,7,8,9 numbers of images i sent to …

Web Development image php
Member Avatar for mrcniceguy
0
115
Member Avatar for twelvetwelve

My code only inserts the last value of the array into the database column. Even though when it runs for the foreach loop it echo's each of the expected values out of the array. I'm pretty new to PHP so I'd be grateful for any help with this. Thanks NH …

Web Development php
Member Avatar for nav33n
0
131

The End.