39,402 Topics

Member Avatar for
Member Avatar for dandixon

Right, bare with me pls, i need to query the db and return a part number and model, but the thing is these results need to link a page where they are displayed fully heres an example [url]http://www.airsprings.com/search/airsprings[/url] if u type in the bottom box W02-358 in returns 3 results …

Member Avatar for dandixon
0
77
Member Avatar for PatrickV

Does anyone have issue with PHP version 5.1.3. it is crap and causes cpanel and other php software issues, i cann't get the latest xammp becacuse of it. Does anyone know when is the next release to fix these problems is coming out?

Member Avatar for PatrickV
0
104
Member Avatar for jj.amonit

I want to query my database and get two things, store them in an array and retrieve them later. Let's say the fields are zone_id and zone_name. currently i am trying this to store them in array like this $zone_array = array('zone1index' => zone1name, 'zone2index' => zone2name, 'zone3index' => zone3name); …

Member Avatar for cwarn23
0
94
Member Avatar for the0ry

Below is a script which i use to return a random image in a specified directory. (It also sets a session variable to cache a list of images recently displayed, but that is irrelevant to my problem.) I am looking to have this script also find files in the sub-directories …

Member Avatar for the0ry
0
107
Member Avatar for takeshi

this is the full code of uploading image using php.. [CODE]<?php // Connect to database $errmsg = ""; if (! @mysql_connect("localhost","root")) { $errmsg = "Cannot connect to database"; } @mysql_select_db("records"); // First run ONLY - need to create table by uncommenting this // Or with silent @ we can let …

Member Avatar for jesy83
0
256
Member Avatar for preetg

hi......... my php code for deleting records from database is working succesfully but while deleting records from database using checkbox is that only records deleted when deleting button click on two time.... means clicking delete button twice delete the record...... plz chk my code nd tell whr is mistake?????????????? plz …

Member Avatar for JRM
0
119
Member Avatar for Alba Ra

Let's start with the problem: I am creating a XML-based CMS that has to run on the servers of French internet service provider and web host Free.fr. So I can't use SimpleXML as only a handul of [URL="http://wiki.free.fr/wiki/index.php/Fonction_php_active_free"]functions[/URL] are activated. I can only assume that it is the old [URL="http://fr.php.net/manual/en/book.xslt.php"]XSLT[/URL] …

Member Avatar for Alba Ra
0
593
Member Avatar for babydol

Hi can any1 give me some idea on how to mask the url of an entire web site.I want the same url to show nomatter where the user is on the web site

Member Avatar for fobos
0
184
Member Avatar for hmeco

Hi Lads im writhing a login system for a personal project. the login part work nice but there are some includement stuff i cannot get figured out. when a user logs in the session will start and he will be redirected to his CP. now. the link to the cp …

Member Avatar for nav33n
0
95
Member Avatar for paldss

Hi everyone, I have a site with a php login control that writes the login information (username/password/time stamp) to a text file after a successful login. I am trying to figure out how to have that text file emailed to me every week so I can keep track of who …

Member Avatar for paldss
0
55
Member Avatar for takeshi

Guys, is there anyone knows how to archive a record saved in database using php?Need to implement it in my program..tnx in advance..Godbless

Member Avatar for takeshi
0
104
Member Avatar for jacob22

Firstly, apologies if this is in the wrong place, I couldn't find an alternative topic where this would be more relevant. Feel free to move it if you can think of a better place for this thread. I've been encountering an issue with apache's mod_rewrite that I can't find a …

Member Avatar for pritaeas
0
86
Member Avatar for KimAnderson

You want to only get the first 5 items from an array, but if there only exists less than 5 items in the array, you still want to get them all. The result would be an array variable containing at most 5 items. Is there a single PHP function that …

Member Avatar for pritaeas
0
47
Member Avatar for zodiacfive

How can we connect two databases to PHP at same time. Like .. retrieve data from Mysql and compare it with MSSQL data. :-/

Member Avatar for pritaeas
0
91
Member Avatar for almahmeed

Hello Everyone, I am developing a new website which shall provide a user interface of multiple languages; starting with English, Persian and Arabic (We are considering Russian and Hebrew in addition to other languages in the 2nd phase). What I have done is to store a language code with the …

Member Avatar for muralibobby2015
0
97
Member Avatar for aneeka

Good day people! May i know how to assign value to a textarea the data from a database. I tried the following codes but they didn't work. [CODE] <?php echo "<textarea name='aaa' rows='4' cols='70' value='$abc'></textarea>" ?>[/CODE] [CODE]<textarea name="question" rows="4" cols="70" value="<?php echo $question2; ?>"></textarea>[/CODE] please help me!

Member Avatar for aneeka
0
74
Member Avatar for xuexue

i have this jpgraph downloaded, now i dont have this gd library which is a pre-requisite for that jpgraph, could you help me with this.. thanks..^_^

0
71
Member Avatar for xuexue

hi guys, just wanna ask, is there a list view in php like in vb6??? i know, i can display the output using a table, however, what i want to happen is that whenever a user clicks on a row, that whole row will be selected and all the values …

Member Avatar for diafol
0
95
Member Avatar for AmieFeetandToes

Hello everyone! I'm Amie, and I'm a little new to PHP and MySQL. That being said, I am attempting to create a Login form with a username and password field. I pretty much have it down with the structure I think. I set up the MySQL database with GoDaddy. I …

0
100
Member Avatar for s7randall

First time to build a website and need a little help with my script. I am getting the emal from the sender, the subject and the description but all other Requests are lost somewhere. Please help :/ [code] <?php $to = "user@example.com"; $subject = "Contact Us"; $name = $_REQUEST['name'] ; …

Member Avatar for JRM
0
160
Member Avatar for codewalkz

I would like to ask how can I check if a sample date is earlier than another specified one. I have this: $Monday = 1-18-2010 $enroll = 12-29-2009 [CODE] $enroll = $row['enroll']; if($enroll >= $Monday){ echo "<br>$enroll is earlier than $Monday this returns TRUE ( 1 )"; }else{ echo "<br>$Monday …

Member Avatar for webbespoke
0
116
Member Avatar for kamalhilmi

Hi everyone, I am newbie with the PHP code. I am developing for a dynamic website whereas user/admin can edit the content to be displayed in the page. 1. I would like to have step by step code to do this. Let say if a link is clicked, the content …

Member Avatar for diafol
0
115
Member Avatar for zodiacfive

how can we verify data in sales force. Is there any service there to check the data of sales force.? SOAP or API is there to send values to sales force and check?

0
76
Member Avatar for whiteyoh

Hi All, Help if you can, The following script wont insert a row into my table. There is an auto increment field at the start of the table called "ID". [code] <?php // this is processed when the form is submitted // back on to this page (POST METHOD) if …

Member Avatar for JRM
0
139
Member Avatar for KerRoy

Hello, I try to send a string of numbers (It has to be string) from one pc to the other pc throught tcp and com (serial). I use xampp as my server. I always get the same errors: 'Warning: fsockopen() [function.fsockopen]: unable to connect to 192.168.50.20:12344 (A connection attempt failed …

Member Avatar for ShawnCplus
0
77
Member Avatar for Olsi009

Hey people, I am doing a project in web development and I wanted to make a system where users can sign up and login to their profiles and have custom URLs like facebook or twitter ([url]www.mysite.com/UserName[/url]). I dont wanna create a folder for every user on the system cuz that's …

Member Avatar for Olsi009
0
111
Member Avatar for takeshi

Guys,this code couldn't run very well..Is there anyone who will recode this? [B]search.php[/B] [CODE] <?php mysql_connect ("localhost", "root") or die (mysql_error()); mysql_select_db ("records"); $criteria = (int)$_POST['criteria']; $sql = "SELECT * FROM students WHERE "; switch($criteria) case 1: $sql .= "course"; break case 2: $sql .= "surname"; break; case 3: $sql …

Member Avatar for takeshi
0
107
Member Avatar for vinayakgarg

I have a php code that uses a "Registration" button. Based on data input by form, form is either Submitted or a Message is "echo[ed]". Then a "Continue" button is displayed which uses META tag to auto refresh. But the "Registration" button is there as well. I wanted to remove …

Member Avatar for K0ns3rv
0
93
Member Avatar for xuexue

are there any simple softwares, ways or techniques on how to make a graph??? simple only.,just plot the x and y axis, then draw a line to connect them..that easy only./.please could you help me, thanks..^_^

Member Avatar for xuexue
0
96
Member Avatar for ShawnCplus

Could the Homework Help announcement in the C++ forum also be added to the PHP forum. I doubt it'll stem the flow of begging or spoonfeeding - which is becoming a growing problem - but it wouldn't hurt.

Member Avatar for almostbob
0
403
Member Avatar for cali_dotcom

i need some help with logic here. i am reading contents with ob_get_contents. then i need to search for and fetch the contents and id's in a custom tag. eg: <translate id="4" token_id="0" variant_id="1">contents............</translate>. i wanted to do that with preg_match_all but it get complicated trying to fetch the id's. …

Member Avatar for cali_dotcom
0
139
Member Avatar for billah_norm

my php session_destroy() function not working. php version: 4.0.3 Apache : 1.3.14 using MsSQL via ODBC thanx

Member Avatar for Stefano Mtangoo
0
133
Member Avatar for codewalkz

i need to know if there is a member whose enrollment date is earlier than a specified date. If this case, the specified date = $Monday [CODE] $Monday = 12-30-2009; $result = mysql_query("SELECT COUNT(*) FROM agents WHERE (sponsor = '$parent') and (lft between $leftlft AND $leftrgt) and (enrollment_date >= '$Monday')"); …

Member Avatar for codewalkz
0
128
Member Avatar for moerpheus

hello, I have my php project and I want to build the application so that when i give it to someone he/she just executes the installer file. It should include all the necessary perquisites like apache, php and mysql. How do I do that? any software that can help? Please …

Member Avatar for Stefano Mtangoo
0
175
Member Avatar for gunnarflax

Hi, I'm trying to create a multilingual site and I've decided to go with the example shown [URL="http://www.phpsimplicity.com/tips.php?id=15"]here[/URL]. The problem is that I'm also trying to build the site with a method I've never used before. The navigation is done through the get-method. All content gets loaded into the index …

Member Avatar for gunnarflax
0
398
Member Avatar for whitestream6

I have recently been looking at the Pager script in PEAR, and installed it to my Apache install. This is my existing code for my script (which doesn't use PEAR'S Pager script, for now anyway): [CODE] <?PHP //connect to mysql //change user and password to your mySQL name and password …

0
69
Member Avatar for ulysnep

Hello All, I apologize for what seems to be a simple thing to solve but I'm not sure why I can't get the correct result below. Here is the code and the problem: I'm using .HTACCESS to password protect a directory. I'm taking the username and storing it in a …

Member Avatar for diafol
0
133
Member Avatar for Midnite002

I am starting a new topic cause the people in the old one do not understand what I am asking ( trying to learn / figure out ) how to do I have 24 files in a directory they are named 12am.txt 1am.txt 2am.txt ETC ETC till 11am.txt then they …

Member Avatar for Ezzaral
0
585
Member Avatar for virspy

Hello Good Morning i Developed a page called search.php which is included in every file of the project and in search search.php if we click on submit button we will move to result.php page my problem is i written as <form action="?result1?id=<? $_GET['city']?>" onsubmit="javascript: return groups(this);" method="GET" name="hotForm" style="margin: 0px;"> …

Member Avatar for Excizted
0
78
Member Avatar for cwarn23

Note to mods: This is in the php section as the question is mainly directed to the php gurus. I have been reading on some rather old news and discovered that the Secure Hash Algorithm (SHA1) has been cracked. Does anybody know where I can download a copy of this …

Member Avatar for ShawnCplus
0
88
Member Avatar for veledrom

Hi, I have a resultset which is an array with either 1 or 2 or 3 or 4 ... dimentions. How can I find out how many dimentions are returned? Thanks

Member Avatar for diafol
0
101
Member Avatar for greenphpcoder

hi i was set the task to increment a number by x every x seconds and i tried to find some [URL="http://www.daniweb.com/code/../techtalkforums/thread68355.html#"]code[/URL] off the net, but found the subject covered very sparsley so for whoevers benefit ill post the code here hope it helps [URL]http://www.daniweb.com/code/../techtalkforums/dani-images/smilies/fiyellow/icon_smile.gif[/URL] Thanks Nicholas

Member Avatar for sharasyn
0
906
Member Avatar for Muazam

Hello, I need help with my site, for example [B]this[/B] forum: If there is 25 post in this page it makes another page automatically, like blogs or search. If you go in google and search for something.. all the links wont be on the same page you have to goto …

Member Avatar for pclfw
0
127
Member Avatar for picsoung

Hi, I'm new on this forum, hope you can help to solve my problem :) I would like to modelize a binary tree like that [CODE] A / \ B C / \ D E[/CODE] They will be more nodes be a node can only have a maximum of two …

Member Avatar for picsoung
0
74
Member Avatar for veledrom

Hi, Which one do you prefer CakePHP, Symfony, Zend Framework, CodeIgniter ? I need to decide on one to go for. Thanks

Member Avatar for veledrom
0
81
Member Avatar for Mujahid158

I'm getting the following warning; Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\ep\login.php:1) in C:\xampp\htdocs\ep\login.php on line 2 If i comment session_start(), everthing works fine. Where is the actual problem? Here is my code; [CODE=php] <? session_start(); include "config.php"; global $c; require('functions.php'); …

Member Avatar for Mujahid158
0
124
Member Avatar for rajabhaskar525

hai all , i am using google api to convert my english webpage content to french language, it's wroking good but i am getting this [COLOR="Red"]d\u0026#39;[/COLOR] in french , instead of some characters . how to remove this [COLOR="Red"]d\u0026#39;[/COLOR] code.

Member Avatar for pritaeas
-1
87
Member Avatar for phpDave

Hello, I'm fairly new to php. I have a two page's, one where user creates account. The other one is for the user to insert other information. [B]If [/B]user completes both pages I want to direct them to their personal page, [B]else[/B], direct them to the second page to insert …

Member Avatar for vandenzergen
0
118
Member Avatar for muralibobby2015

hello... anybody give suggestion.. i am doing one task what it zzz means my site is in english. i have dropdown list having multiple languages. if anybody changes language option site all pages change to that language. any body knows how to do it?

Member Avatar for muralibobby2015
0
2K
Member Avatar for xuexue

i have this problem, i want to have a data grid which functions like in vb6...now, whenever the user will click on any part of the table, the program will get the value of that specific row being selected. now, using clickable tables, i can get the value but in …

0
85

The End.