39,320 Topics

Member Avatar for
Member Avatar for dlannetts

l am wanting to build a php session script but l understand that there is more to it than just what w3schools shows, anyone got a good tutorial on it or time on msn ???

Member Avatar for cwarn23
0
86
Member Avatar for kuteinheart

Hi PPL, I have a table in my web page which will be displayed when I select an option from a dropdown box. The table appears as follows: [CODE] Username Assignment Date Update me work 2010-01-21 (submit button) you hello 2010-01-20 (submit button) [/CODE] Now when i click the submit …

Member Avatar for cwarn23
0
120
Member Avatar for vizz

How to display following using while loop : <div style="background-color:orange;text-align:center"> <p>Header Section</p> </div> <div style="border:1px solid black"> <p>Content section</p> </div> I want to display all my database in above manner, It gives Parse error I want to fetch my database using while like : for 1st record <div style="background-color:orange;text-align:center"> <p>Header …

Member Avatar for cwarn23
0
281
Member Avatar for accountholder

Hi all... I plan to develop a Free Domain Name Service like .co.cc. Actualy it's a free subdomain service. For example, I use: [B]xxx.tld[/B]. Now, 1. how to create a subdomains (or virtual subdomains) using PHP+Mod Rewrite? Example: [B]thedomain.[/B]xxx.tld I mean, how to write it on .htaccess file using PHP? …

Member Avatar for cwarn23
0
121
Member Avatar for itisnot_me

ok so i an setting up an html email thing that you use an wysiwyg to format the text (just bold links and stuff like that) and i am running into a problem with my links they seem to be escaping and then not printing out in gmail with a …

Member Avatar for itisnot_me
0
78
Member Avatar for ElegantElephant

I have a small problem with a MYSQL select query involving an INNER JOIN. Both tables that I'm joining have a field that have identical names. So when I use[CODE] $array = mysqli_fetch_array($result,1); $field = array['fieldname'];[/CODE] it returns the wrong value from the wrong table. Is there any way around …

Member Avatar for JRM
0
95
Member Avatar for ElegantElephant

I have a select menu with many text-based options. However when I submit the form, instead of actually returning the textual item in the POST variable is it possible to set it to return the ID of the selected item? For example I have the following form: [CODE]<select name="dev_stage" id="dev_stage"> …

Member Avatar for ElegantElephant
0
97
Member Avatar for restyle

I'm making a photo album with my own CMS, part of it is adding photoalbums to it, but i'm having some trouble linking the "click on album name" to the loading of the correct photo album. my 2 tables are gallery_categories, primary key: id and gallery_assests, primary key: cat_id What …

Member Avatar for restyle
0
149
Member Avatar for ryan311

hi all :), i always have a problem in giving a message to the one who register a confirmation or activation link to be enable to use his account. here's my code register.php [CODE]<form name="form1" method="post" action="adduser.php"> <table width="121%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="27%" class="style4"><div align="right" class="style1">Username:</div></td> <td width="4%" …

Member Avatar for diafol
0
171
Member Avatar for ElegantElephant

I have a date in the format of YYYY-MM-DD as a string (including the hyphens) How do I split this string just to obtain YYYY, MM and DD separately? Possible use of an array or something? Would really appreciate some help :) Edit: Nevermind, just discovered the explode() function :P

Member Avatar for csmgsarma
0
103
Member Avatar for dylank

Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for zalFG

help needed.... i have 16 values in one row of a table, but i only wanted to retrieve 14 value from that row(FieldValue) the last two values was u-needed. sorry for my bad english... and thank in advance.. [CODE] <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('Could not connect:'.mysql_error()); } mysql_select_db("kiperak",$con); $result = …

Member Avatar for zalFG
0
75
Member Avatar for sivaconfident
Member Avatar for avinashzala
0
84
Member Avatar for whiteyoh

Hi All, Can anybody see why this code wouldnt update the database? Cheers Paul [code] $me = $_SESSION['user_id']; $user_title = $_POST['user_title']; $user_fname = $_POST['user_fname']; $user_lname = $_POST['user_lname']; $user_add1 = $_POST['user_add1']; $user_add2 = $_POST['user_add2']; $user_city_state = $_POST['user_city_state']; $user_post_zip = $_POST['user_post_zip']; $user_email = $_POST['user_email']; $user_password = $_POST['user_password']; // Connect to server and …

Member Avatar for shashankshah
0
102
Member Avatar for marcmm

I've got a simple question: how can I make an onclick return confirm event work inside PHP tags. [code] <HTML> <BODY> <a href="delete.php" OnClick="return confirm('blah blah');"> Click here </a> <?PHP ECHO "<a href='delete.php' OnClick='return confirm('blah blah');'> Click here </a>"; ?> </BODY> </HTML> [/code] the first link is a simple html …

Member Avatar for akmotta
0
14K
Member Avatar for peck3277

Hi guys I'm having sometrouble here! Please help if you can! I'm storing in a mysql database the price of some products. I am storing them in cents ie. €5.99 = 599. I have the following code that will output just that: [CODE]<?php $x='599'; $num = $x; $last_num = strlen($num) …

Member Avatar for darkagn
0
108
Member Avatar for tryphy

Hi every1, I am new to php... From the image that i have attached you can see what i basically need... In view users.php v can see who r all the users.. and clicking on that particular user,.it has to display that particular users details. eg: when we click user1 …

Member Avatar for fobos
0
2K
Member Avatar for LTT

Hi all... Im having some trouble inserting values to my mySQL database. I have the following installed on my local system. [B]MySQL[/B] Server: localhost via TCP/IP Server version: 5.1.43-community Protocol version: 10 User: root@localhost MySQL charset: UTF-8 Unicode (utf8) [B]Web server[/B] Apache/2.2.14 (Win32) PHP/5.2.12 MySQL client version: 5.0.51a PHP extension: …

Member Avatar for mwasif
0
227
Member Avatar for whiteyoh

Hi all, Can anybody advise on how i can best use php and mysql to give a database record an "age" in days? Im recording record creation via timestamp at the minute Cheers Paul

Member Avatar for vharuna
0
97
Member Avatar for virtualmisc

Hello Friends I have a php script. I have checked for copyright of the same but couldn't find any legal information. I am planning to make drastic changes to the script to make a new one. So Can I get the copyright rights for the same?

Member Avatar for diafol
1
94
Member Avatar for jmercola

I am trying to use PHP in an HTML page to change Login to Logout and reference my login page. Instead of printing 'Login' and 'Logout' I get the following: Logout" ; } else { echo" Login" ; } ?> The IF function seems to get confused and starts echoing …

Member Avatar for vaultdweller123
0
137
Member Avatar for blueguy777

I'm working on MLM script i.e. Auto filling nodes, how to display empty tree node images and replace them with filled images by fetching matching record using PHP Mysql. Please refer to the following screen shot. [url=http://www.freeimagehosting.net/][img]http://www.freeimagehosting.net/uploads/bb2140a87c.jpg[/img][/url] thanks in advance

Member Avatar for blueguy777
0
156
Member Avatar for rajabhaskar525

hai all, i am working shopingcart project . i got one error[CODE]HTTP/1.1 200 OK Date: Fri, 12 Feb 2010 12:01:22 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=15, max=88 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: …

Member Avatar for whiteyoh
0
80
Member Avatar for Harpreet Sohal

Hi, plz help me........ i have three php pages First is 'Outward.php', second is OutwardData.php and Third is OutwardGrid View.php.I want multiple checkbox records from 'Outwardgridview.php' to 'Outward.php' gridtable. But my problem is only first record is display in outward.php gridtable.But display all checkbox no. my code is ---------------------------1.Outward.php-------------------------------------- [code] …

Member Avatar for whiteyoh
0
165
Member Avatar for pinel

I'm newish to php. I'm trying to open a video in a new window. There is one page to play the video but I have 17 different videos. I find it pointless having as many pages with the same code except for the video link. The videos will be on …

Member Avatar for whiteyoh
0
84
Member Avatar for mastia22

[CODE]http://localhost/kplfantasyfootball/example.php?id=7&posid=3[/CODE] Hi, could someone please explain to me how I can read the two parameters carried in the URL. Thanx.

Member Avatar for mastia22
0
156
Member Avatar for syarmil

Good day everyone..... I'm one of the new student in the web development.I have a problem here.I want to develop a website by using a Macromedia Dreamweaver 8.But, I don't know how to connect the registration form that have in the dreamweaver to the database.I am using EasyPHP software for …

Member Avatar for Stefano Mtangoo
0
413
Member Avatar for architact

Hello, Please help me in understanding the mystery behind rss feed, how to create it?, is it an automatic process? or it requires some admin type thing? Please help me, I want to know how to create a rss for a website. Thanks.

Member Avatar for Stefano Mtangoo
0
206
Member Avatar for shatabdi
Member Avatar for Stefano Mtangoo
0
58
Member Avatar for MDGM

Hi all, I need a php script that gets the IP address of a user entered website, something like this: $site = 'www.google.com'; $ip = ping($site); obviously replacing ping with a command that actually exists! Thanks in advance. MAX

Member Avatar for MDGM
0
192

The End.