52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bimmr

Hi all, I got this code and try to add a +1 to the .$order_details_arr[0]['Order']['id']) | <a href="<?php echo $html->url('/admin/order_products/view_details/'.$order_details_arr[0]['Order']['id']); ?>">Next</a> Basically I want to be able to show a URL that will be the .$order_details_arr[0]['Order']['id']) result + 1 so the link will link to the next order id in …

Web Development php
Member Avatar for bimmr
0
96
Member Avatar for alumbagreenz

Hi, i am trying to create a function that will allow me to update names in a textfile i got. I am actually having problems creating the function. I wAS FOLLOWING AN EXAMPLE I FOUND IN A C++ BOOK, DOING IMPLEMENTATION, BUT GOT MIXED UP. CAN SOMEONE PLEASE HELP ME. …

Web Development php
Member Avatar for vaultdweller123
0
91
Member Avatar for gunnarflax

Hi, I'm not good at all at JavaScript but I'm trying, so bear with me. What I want to do is that when I click on a <input type="text" /> tag the checkbox next to it should become checked. I've tried with the help of internet for a couple of …

Web Development javascript
Member Avatar for gunnarflax
0
257
Member Avatar for benk1

Hi I have designed a simple login area on a website that creates a few session variables to use to query a database of products which works fine: [CODE]<?php session_start(); // dBase file include "dbConfig.php"; if (!$_POST['username'] || !$_POST['password']) { die("You need to provide a username and password.<p>Click <a href='main_login.html'>here</a> …

Web Development php session
Member Avatar for benk1
0
114
Member Avatar for Heinz Stapff

Hi everyone, I have a table that is written from 'display' window to 'register' window. It is a CART TABLE. It is suposed to cut down on posts to the server and is written entirley with client side javascript. There should really be ony one post to the server when …

Web Development client-server javascript
Member Avatar for Heinz Stapff
0
652
Member Avatar for Pleasant Day

Below is a Random Quote generator script I found on the net, its a great script, but I want the quote to be in bold, how is that done please? [code=html]<center> <font color="#71025F" size="2" face="Verdana,Arial"> <script language="JavaScript"> // ============================================== var Quotation=new Array() // do not change this! // Set up …

Web Development javascript
Member Avatar for yehawdude
0
155
Member Avatar for newbie2010

Hi all, I'm new to this forum and have searched the web for days now trying to find a solution to my problem: function 1 builds the top of the page where the total ordered items are displayed. For example: total 10 items. function 2 (uses javascript's onchange=this.form.submit) builds the …

Web Development php
Member Avatar for Fbody
0
145
Member Avatar for letlet_pogs

Hello, good day. I am a newbie in AJAX. I am still starting at this programming language. I just want to ask for help. I have a field "From" and "To". If you select "1969" in "From" field, then in "To" field, the user will automatically select YEAR that is …

Web Development javascript
Member Avatar for letlet_pogs
0
79
Member Avatar for Midnite002

I am new to PHP and have not yet learned all the syntax and commends but was wondering if an easy script can be made to copy files of the same name from one directory over to another directory thru a PHP script in other words if I have 2 …

Web Development php
Member Avatar for Stefano Mtangoo
0
321
Member Avatar for Nfurman

Hello. I am constructing feedback form - SMTP - ADO - Captcha OK. Everything works fine to me. Except one important thing. After smtp and sql injection and Reset(), user can hit back in browser and after that resend message. that's not good. How to make the data in form …

Web Development asp.net
Member Avatar for Nfurman
0
97
Member Avatar for venus_me11

i try to validate my login page.. all special characters are not accepted but when i input a backslash ( \ ), an error message appears.. error in executing query.. please help how to validate it... tnx

Web Development php
Member Avatar for Manuz
0
182
Member Avatar for preetg

hello........... i m facing problem regarding storing DOB of employee into database using html form m using date as a datatype and in database format for date is yy-mm-dd.... all other fields are properly working and storing into database but dob filed shown empty.... [code=html] <html> <head><title> Employee Data</title></head> <body …

Web Development html-css php
Member Avatar for tomatocms
0
7K
Member Avatar for fumnimda

hi i want to get height of a div with[B] document.gtElementById('divid').offsetHeight [/B]in javascript. it works well in firefox but in IE it returns 0. what is the solution? i guess maybe the offsetHeight doesn't work in IE ,but [B]document.body.offsewtHeight[/B] return a number bigger than 0 ! altought it is different …

Web Development javascript
Member Avatar for arunss
0
78
Member Avatar for sharao

hi frnds, if any one disable javascript in their browser...eventhough how to run our script...i think jquery is one option but i don't know exactly.. if any one knows tell me the process how to run script when disable... Thanks...

Web Development javascript javascript-jquery
Member Avatar for kvprajapati
0
334
Member Avatar for igirl

I have a db that has a description column all descriptions are one paragraph except one needs 2 paragraphs and two hyperlinks. Can I input HTML into the one data row?

Web Development asp html-css sql
Member Avatar for yonker
0
116
Member Avatar for PinoyDev

Hi guys. i am having problem regarding of passing session data from one page to another. In start.php i have this session initialization & assignment. [code=php] session_start(); $_SESSION['course']=$_POST['course']; [/code] where the method of the form that this course menu has is set to POST and the action is set to …

Web Development php session
Member Avatar for PinoyDev
0
138
Member Avatar for flowers1

Hi.. I am curretly developing on a site which has two dropdown lists which are linked to two database tables; one of which is 'station' and the other 'type'. I have a third table called 'stores' which includes all the information, and has Type_ID and Station_ID as foreign keys. Could …

Web Development linked-list php
Member Avatar for newbie2010
0
271
Member Avatar for furqan219

Hi Dear All Is it possible to compare two PDF Image Files and if Name of Person is same in both documents only then we can save it to server and save the path to the Database. actually its about confirmation. But Problem is Both PDF are Images and name …

Web Development image pdf php
Member Avatar for littletom4u
0
146
Member Avatar for debangan.b

I need to learn .net 3.5 frame work. I dont have much knowledge about this. Can anyone please tell me what are the things i need to learn to handle a site as I am working in a site devlopment team and also how much time will take to handle …

Web Development asp.net
Member Avatar for debangan.b
0
129
Member Avatar for realnsleo

Hi, okay i've spent hours in the web searching for the right image slideshow/gallery to use for my website but in vain! Dont get me wrong the jQuery, Ajax scripts i've seen so far are so good but they all use lists to load all the images at once and …

Web Development javascript javascript-jquery php
Member Avatar for realnsleo
0
147
Member Avatar for aneeka

good day! Please help me here, I need to count the record according to my condition but with my code it only counts the last record in the table in MySql. Here is my code.. Thanks! [CODE]<?php //establishing connection mysql_connect("localhost", "abc", "bbb") or die(mysql_error()); $submit = $_POST['submit']; $cancel = $_POST['cancel']; …

Web Development mysql php
Member Avatar for aneeka
0
177
Member Avatar for 4789787

I want my cookie not to be reset when i close the browser. The way i have it right now it expires whenever i close the browser... I REALLY REALLY need a solution to this so please if someone could give me some time id REALLY appriciate it!! I dont …

Web Development iphone php web-browser
Member Avatar for 4789787
0
250
Member Avatar for karin42

Hi! I am attempting to change the innerHTML code of a div and to run javascript code at that time. But I seem to be unable to do it. The actual workings of the whole thing are really convoluted but here is the general idea: [CODE] <html> <head><title>JavaScript test</title> <script …

Web Development html-css javascript
Member Avatar for karin42
0
202
Member Avatar for indu-bajaj

how to install PHP in WindowXp it easy to use

Web Development php
Member Avatar for webbespoke
0
93
Member Avatar for codewalkz

Hi I currently have date in database in this format: 11-7-2009 But I think I need to echo this in this format: 2009-11-07

Web Development php
Member Avatar for emhmk1
0
186
Member Avatar for trickslide

Hi, This is my first post so please be gentle.. I am building a site that has 100 or so pages the majority detailing a seperate training course. I have a contact.php page where visitors can fill in there details as most sites. this then gets sent via a mailer.php …

Web Development php
Member Avatar for trickslide
0
64
Member Avatar for motters

hi can any one tell me how to make a profile page for my website i have been tring for a bit but just can not do it sort of new to php. i have a dater base called clubwigan with a table in it called wigan_users in that table …

Web Development php
Member Avatar for Fbody
0
338
Member Avatar for by89

Sorry this is the first time posting so if there is any wrong placement of thing, i apologize. Basically I'm trying to retrieve all the field of the food by typing the foodname and display it into the addfood.jsp. There are 2 class and 1 jsp which is foodmanage.java where …

Web Development display html-css java-jsp
Member Avatar for musthafa.aj
0
187
Member Avatar for ChimpusDupus

Hi, I have several themes that can be applied to pages on a website based on a users preferences. The problem is that the only way I know how to apply a theme to a website is to set the Page.Theme object in the page's PreInit event. This requires that …

Web Development asp.net
Member Avatar for andy28
0
96
Member Avatar for kanuri1

hi i want to show the message box using database conditions,,,,, here my coding is given below......... [code] Protected Sub roomno_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles roomno.SelectedIndexChanged Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString()) Try conn.Open() Dim dr As System.Data.SqlClient.SqlDataReader Dim da As New SqlClient.SqlCommand("select room_no from guesthouse WHERE …

Web Development asp.net
Member Avatar for kanuri1
0
127
Member Avatar for babydol

Hi i m trying to create two drop down list boxes where the second drop downl list box is populated based on the selection of the first one.I have searching the net for days and even the scripts i downloaded don't seem to be working..Can anyone help me plz.....Its urgent...I …

Web Development php
Member Avatar for Larry_b
0
174
Member Avatar for phpDave

Hi, I am trying to validate email address's on my registration form. Everything works great except for checkdnsrr function. I was wondering can anyone help with this. I never used checkdnsrr before. Here is the code I'm using: //set flag that sais pwd is OK $pwdOK = true; //trim whitespace …

Web Development php
Member Avatar for phpDave
0
335
Member Avatar for Tracie-marie

I have a multi page form that uses hidden fields to pass the submitted data. The final page displays the results to the user, this is working fine. If the user is happy they submit the form which is then emailed to me and they are forwarded to a thank …

Web Development php
Member Avatar for compusolver
0
186
Member Avatar for JRM

I am going start a project that will create a pop-up window with a list of part numbers, prices , etc form another site. The listings will be selectable and then stored in our site database. I have never done anything like this before, so I would like to know …

Web Development php
Member Avatar for JRM
0
80
Member Avatar for greeny_1984

hii every one, i have an application containing data list. datalist contains radio button as item template.i want only one radio button to be checked ie when the user clicks on one checkbox the other checkboxes should be unchecked.i have used groupname ,but no use .can any one give the …

Web Development asp.net
Member Avatar for tamannashah
0
195
Member Avatar for doforumda

hi let me explain what i want I have four pages.two html, one js and one php. First page is loginTab.html. There is a tab called "Tab One" when user clicks on it there is a script inside this html page which calls function and loads an external login.html form …

Web Development javascript
Member Avatar for doforumda
0
83
Member Avatar for veledrom

Hi, Can we make secret.php bit invisible in action attribute of a form? I don't want users seing my post pages. [CODE]<form name='form1' method='post' action='secret.php'>[/CODE] Thanks

Web Development php
Member Avatar for diafol
0
20K
Member Avatar for Facte

Hi there everyone, I really need some help. I have a load of PHP pages that generate XML feeds that need to run hourly for my site to function. Problem is I have run out of cron jobs with my hosting. I wondered if there was a way of creating …

Web Development php xml
Member Avatar for cwarn23
0
170
Member Avatar for MxDev

hi guys, How to set html element value using php??? if it's not possible how to do this?? Thanks

Web Development html-css php
Member Avatar for MxDev
0
153
Member Avatar for veledrom

Hi, What is the best way of securing $_SESSIONs in PHP page that prevents $_SESSION spoofing? Any example! Thanks

Web Development php
Member Avatar for amd_k8
0
256
Member Avatar for gamestoenjoy

Hi, I am currently learning AJAX, and I want to write an simple example program (it is only for practice, it has no real meaning). The program sends request to to PHP and gets response from it, then it should write the response using message box, all should happen on …

Web Development javascript xml
Member Avatar for gamestoenjoy
0
368
Member Avatar for pradeepbaji

<?php class UserSession { public $php_session_id; public $native_session_id; public $dbhandle; public $logged_in; public $user_id; public $session_timeout = 3600; # 1 hour inactivity period public function __construct() { # Connect to database // $conn = mysql_connect($_ENV["DATABASE_SERVER"], 'db54496', 'HQe9rpTS'); $conn = mysql_connect('localhost', 'root', ''); if (!$conn) { die('Could not connect: ' . …

Web Development mysql php
Member Avatar for pradeepbaji
0
141
Member Avatar for cwarn23

Hi and I have been working on an image uploader but need to be able to convert tiff files using php. From my understanding there is the gd library which doesn't support tiff files and the [URL="http://au.php.net/manual/en/function.exif-thumbnail.php"]exif library[/URL]. Does anybody know how I can convert a tiff file to a …

Web Development php
Member Avatar for cwarn23
0
814
Member Avatar for pac-man

hi all, I'm a newbie to AJAX (spent most my time on the C++ forum) but I'm in need of some advice. I plan on building a web-application in PHP with AJAX functionality. Now, I've never touched AJAX before and wanted to know which route would be more convenient a) …

Web Development javascript
Member Avatar for kvprajapati
0
135
Member Avatar for rajeesh_rsn

Hai friends, I wanna pass php variable through url using the GET method. I know like this [ICODE]www.somesite.com?name=thename[/ICODE] And works well but in many web sites I found they passing their variables like this [ICODE]http://www.flickr.com/photos/chocks[/ICODE] Without the question mark ... I wonder how to do this... Please advice me how …

Web Development php
Member Avatar for rajeesh_rsn
0
109
Member Avatar for whiteyoh

Hi all, The following should display a record count, however im getting to a blank screen. Can anybody see why this query wont display anything? [code] <?php $link = mysql_connect("localhost", "uname", "pword"); mysql_select_db("dbname", $link); $result = mysql_query("SELECT ID FROM tbl_sellers", $link); $num_rows = mysql_num_rows($result); echo "$num_rows Rows\n"; ?> i get …

Web Development php
Member Avatar for benqus
0
99
Member Avatar for epicasian

Hello, I am trying to have all my body text for a news website I am building, inside a MySQL DB, and when I echo it out in PHP, it shows symbols like � instead of ". Can anyone help me? Thank you, EpicAsian P.S. I've tried the ASCII, ARMSCII8, …

Web Development php
Member Avatar for epicasian
0
134
Member Avatar for Alba Ra

As mentioned is this [URL="http://www.daniweb.com/forums/thread255320.html"]thread[/URL] I intend to create a collection of functions that use only core functions (as the [URL="http://www.php.net/manual/en/ref.strings.php"]String[/URL] functions) to maximal compatibility. (See the [URL="http://sites.google.com/site/xmlxslt4php/"]website[/URL] - anyone is invited to participate.) The first task will be to parse a string (containing the XML data), break it down …

Web Development php xml
Member Avatar for ShawnCplus
0
519
Member Avatar for Mujahid158

Hello, I'm running a PTC website in which I'm unable to edit the referral field. Here is the code: [CODE]Referrer (if any):<br> <input type="text" size="25" maxlength="15" name="referer" class="form" autocomplete="off" value="<? if($_POST["referer"]) { print $_POST["referer"]; } else { echo securedata($_GET["r"]); } if($_POST['referer'] or $_GET['r']) { print "\" readonly disabled"; } ?>">[/CODE] …

Web Development html-css php
Member Avatar for compusolver
0
104
Member Avatar for woznickis

I'm new to ASP. I have a simple contact form - text fields only - and the results are emailed. But I can't get the page to display. I get a Runtime Error. [CODE]<%@ Page Language="C#" MasterPageFile="~/SiteMaster.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="contact_me_Default" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div id="iCntnr"> <div …

Member Avatar for kvprajapati
0
106

The End.