39,402 Topics

Member Avatar for
Member Avatar for cosby

hi everyone can someone help me with the regular expression to chop the string in to peaces basically i am looking for a pattern to match this line in the file. "1980_1.rtf" (5 December 1984) Cosby and Cosby (189 street of people) i want to get a specific string on …

Member Avatar for somedude3488
0
57
Member Avatar for nishant52

I want to develop online event for my college's tech fest similar to [URL="http://www.deathball.net/notpron/"]"NOTPRON"[/URL] game. To be more specific the game should be like [URL="http://www.shaastra.org/2008/Events/Kryptyk/contest/login"]http://www.shaastra.org/2008/Events/Kryptyk/contest/login[/URL] or [URL="http://www.thesilenceguild.com/Dom/game/"]http://www.thesilenceguild.com/Dom/game/[/URL] I know php and DHTML. I have prepared question for the levels. But i need to know how to implement it. Please help …

Member Avatar for somedude3488
0
230
Member Avatar for MDGM

Hi all, Iv made a simple 5 star voting system and need a way to make sure the user can't vote on the same product again in the next hour. I'm not a mathmatician and get really confused with the time calculations and have tried quite a few methods now …

Member Avatar for MDGM
0
142
Member Avatar for brose

I am new to PHP and need help with a website I'm creating. Using a MySQL database I have created a table storing all of my images, descriptions, links etc. I need the product images to display on the PHP page (which I've already figured out) and be links to …

Member Avatar for sDJh
0
90
Member Avatar for quecoder

hello , I've visited the new paltalk web interface [url]http://express.paltalk.com/[/url] that i liked so much , and wondering what programming languages one can use to make a similar service .. that integrates voice and video chat ... maybe Flash & actionscript ? and does the hosting have to have certain …

Member Avatar for sDJh
0
139
Member Avatar for danishbacker
Member Avatar for virspy

hi, Iam viru can any one help me in creating the addproducts page

Member Avatar for Shanti C
0
108
Member Avatar for zamzianwar

hai friendz !!!! Any one have online examination codez in php ??? plz help me !if u hav send it 2 me........plz its urgent......................

Member Avatar for R0bb0b
0
98
Member Avatar for joseph1980

please dear developers, i have text file, i need to trasfer its data into mysql database then read then into forms using php. any one with the solution or idea i will appreciate it.

Member Avatar for BrettH
0
38
Member Avatar for brooksm

function get_employees_by_hierarchy( $_employee_id = 0, $_dept = 0, $_org_array = array() ) { if ( $this->org_depth < $_depth ) { $this->org_depth = $_depth; } $_depth++; $_query = "SELECT * FROM employees WHERE "; if ( !$_employee_id ) { $_query .= "employee_manager_id is NULL OR employee_manager_id = 0"; } else { …

Member Avatar for BrettH
0
70
Member Avatar for BrettH

Hi, So, I'm working on some PHP scripts, and I never noticed this happening before, but on all of my PHP scripts, any POST variables automatically become regular variables. For example: If I have a post variable $_POST['firstName'] passed through a web form, and then I look at the variable …

Member Avatar for BrettH
0
86
Member Avatar for MDGM

Hi all, Iv looked at quite a lot of forums and cannot get the code to work properly for searching multiple search terms. I have tried exploding the search string and then doing a search similar to this: WHERE fullname LIKE '%$1%' OR fullname LIKE '%$2%' but it has not …

Member Avatar for MDGM
0
178
Member Avatar for AON07

Okay i'm getting the basics of php but I have no idea where to even start to code this idea... I have a database "DB_Name" and a table "images" This table has the following columns (id, category, image name, image path, caption) Keep in mind all my images are stored …

Member Avatar for AON07
0
1K
Member Avatar for strafe

Hi This is my first thread on here and wondering if anybody can help me, I want to make a database of groups with information and show this on a website then the viewer uses the checkboxes to select the groups they are interesting and contacting. I am okay in …

0
67
Member Avatar for mithesh

Hello EveryBody, I have large file (CSV) to be downloaded typically 20 mb which picks data from database while downloading the file it blocks all the resources on the server and no user can browse the website . Could anybody tell me a way where the server resources are not …

0
60
Member Avatar for FlashCreations

Hello, I have a question about PHP. I realized that you can use the POST variable to get data from a form submitted with the type post, but does the order of the fields matter. Example: index.html: [code=HTML]<HTML> <HEAD> <TITLE>Form</TITLE> </HEAD> <BODY> <FORM name='test' action='submit.php' method='post'> Name: <INPUT type='text' name='name' …

Member Avatar for mangel.murti
0
266
Member Avatar for darkagn

Hi all, I wanted to ask if it is a good idea to install PHP on a windows XP machine running IIS? A lot of the documentation I have read talks about Windows 2000 Server with IIS, but not XP. At work I run PHP on a Linux-like platform (FreeBSD …

Member Avatar for darkagn
0
204
Member Avatar for mushbucket

I know this has been asked plenty, and I have tried many things but I can't get anything to work and codes that do seem to work look ridiculously large for the purpose I need them for. What I basically need is something that gets all the rows from a …

Member Avatar for Will Gresham
0
138
Member Avatar for KingTheoden

This one is worth two gold stars. I am working out of Cristian Darie's PHP and MySQL Ecommerce 2nd edition book and am woefully stuck on chapter 6. For some reason, on the main page load (i.e., index pulling in products_list.tpl) I am getting a repeating option dropdown and all …

Member Avatar for Will Gresham
0
129
Member Avatar for dinky123uk

Hi guys sorry if i piss anyone off buy posting it twice was advise to post here regards the script element of my thread <URL SNIPPED> the link is furthwer down the page so you can look after reading my plea for help NICE1 Hello Guys I have built a …

Member Avatar for scru
0
97
Member Avatar for MDGM

hi all, I'm using dreamweaver templates to make my site, however when I want to use the session_start(); function in php, the headers have already been sent because dreamweaver writes the following into the page: [CODE]<!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" --> [/CODE] and so I am having to put in the …

Member Avatar for scru
-1
162
Member Avatar for tnparanormal

I have a nuke platinum site and I have a serious problem. I created a bottom center block that caused my entire site to screw up. I tried to go in and remove it, but am unable to do so. Is there another way, besides the center block admin panel, …

0
41
Member Avatar for psarika

hello this is sarika.i am unable to get the code for inviting a friend and sending him the add request .pls frnds help me in finding the code.

Member Avatar for aanandbhi
0
62
Member Avatar for forwardlookguy

Hello everyone, I'm having trouble populating a dropdown box with mysql data. I have a table with columns makeid, yearstart, yearend and makename. Sample data would be 1, 1936, 1941, American Bantam. I want the dropdown to list the years a certain brand of car was offered. For instance, a …

Member Avatar for petrov50
0
229
Member Avatar for anushka1

hii all my php files has .tpl extension is there any editor that i should work like Dreamweaver .Please tel me are there any software

Member Avatar for scru
0
40
Member Avatar for cuddykid

Hi everyone, i am trying to create a login box on my home page which will enable users to log in/out on the home page to my vbulletin forums. I have successfully managed to create a log in box - it works! BUT once logged in it remains the same. …

Member Avatar for cuddykid
0
337
Member Avatar for veledrom

Hi, How do i check result of out parametter of stored procedure in php? [code] CREATE PROCEDURE `username`(IN name_in varchar(10), OUT name_out varchar(10)) BEGIN SELECT name FROM table WHERE name= name_in; END; [/code] [code] //This always returns 1 even there is no record in the table. $query = "CALL username($name, …

Member Avatar for veledrom
0
134
Member Avatar for FlashCreations

Hello, I was browsing DaniWeb and found a code snippet that allows PHP files to be static and more search-able by browsers. I notice that certain pages of DaniWeb are PHP (such as this new thread page), yet most are html files. I know this may seem nosy, but I …

Member Avatar for FlashCreations
0
239
Member Avatar for serkan sendur

i plan to learn php, i want to know from where to start as version, IDE, server installation and whatever required for a true start. i also want to know how php is similar to asp.net and how it is not. Thanks

Member Avatar for PoA
0
146
Member Avatar for Grasshopper_

Hi everyone I am what you would call a newbie to the web site matinance and development I am having a problem that is costing me a lot of lost business and any help be greatly appreciated ... I have a quote form the should be require our visitor to …

Member Avatar for buddylee17
0
118
Member Avatar for mrcniceguy

I`M CREATING A PHP SITE,AND THERE IS A MEMBER PROFILE(myprofile.php). AFTER MEMBER LOG IN SESSION ARE REGISTERED. NOW THE PROBLEM COMES,IF MEMBER MOVES TO ANOTHER PAGE AND IF HE WANT TO BE BACK TO HIS PROFILE BY CLICKING THE BACK BUTTON,IT SHOWS THAT U MUST REFRESH A PAGE. I TRIED …

Member Avatar for mrcniceguy
0
92
Member Avatar for Designer_101

Hey Underneith is my code, im having a problem where as when i click the delete button it does what i need it to do (delete a thead) however it also delete the 'title' fields from every other entry in my database ?? this is substantually weird can anyone help …

Member Avatar for Shanti C
0
78
Member Avatar for sdhariwal

I am a PHP developer and enjoying my work in it , but i was very disappointed when some of my colleagues said that the PHP is bullshit... it is not a programming language... there is no future in it... i was very amazed when other professional doesn't consider me …

Member Avatar for R0bb0b
0
147
Member Avatar for Juliopp

How to do it? Please! Thanks! A $1 mini-prize is available for the right answer (PayPal or AlertPay)

Member Avatar for cwarn23
0
175
Member Avatar for lifeworks

Hi Story goes... I have a booking form, on a website, which needs to send a 'bundle' of data to another page in my booking system. But I dont want to redirect the user to the booking system page... I got it right once on a paypal project, i think …

Member Avatar for chrelad
0
73
Member Avatar for AON07

I need help deleting a row from a mysql database using a drop down menu form. i want to be able to just select the category i want to delete and then hit the delete button. For some reason I can not get this to work. I'm also fairly new …

Member Avatar for R0bb0b
0
1K
Member Avatar for OmniX

Hi guys I am trying to allow people to upload any image (size, format, etc) and reformat it into a jpeg file of 50 by 100. Now im not sure if this is possible to re-format but I know you can re-size the image. At the moment I am having …

Member Avatar for OmniX
0
72
Member Avatar for antwan1986

Hey everyone. I was reading the documentation for this function and I can't understand what the example is doing, and how it's working. Can someone explain to me what these functions are doing? [CODE] <?php function odd($var) { return($var & 1); } function even($var) { return(!($var & 1)); } $array1 …

Member Avatar for antwan1986
0
114
Member Avatar for mhangman

hi im trying to make a flash web page. im using a free template for starting. it has a contact form but when i try to use it just not working. where am i making mistake can any1 tell me?i dont know as well so just c/p what i saw …

0
62
Member Avatar for nea_m

Hello all, Im trying to display an image to the right side of radio buttons. I kind of did it, but my OK button is too low now, which means I must have put this echo code in the middle of the radio button list or something. Im an absolute …

Member Avatar for nea_m
0
232
Member Avatar for sigbjorn

Hello all I need to download the content of a username and password proteced file using negotiate authorization (not basic ex. "Authorization: Basic username:password". I need PHP to download and save the file, but I don't have a clue on how to do this handshake with the server. Anyone having …

0
86
Member Avatar for god_1896

hi all; im looking a good example of 3 selector like for region province and city. if select form the list of region the province would have a list of province belong to region and the city well provide a list of cities belong to the region. and if province …

Member Avatar for mangel.murti
0
281
Member Avatar for streetrodfanati

Hello, I'm having trouble with these syntax errors & need some help. Thanks! Parse error: syntax error, unexpected T_STRING in /home/a3933825/public_html/require.inc.php on line 43 function footer() { ?> <CENTER> <table> <tr> <td class="font"align=center><a href="start.php?option=contact">-contact us-</a>&nbsp;&nbsp;<a href="privacy.htm" target="_NEW">-privacy policy-</a>&nbsp;&nbsp;<a href="spam.htm" target="_NEW">-spam policy-</a><br></td></tr> </table> </CENTER> <? } ?> I also get the …

Member Avatar for streetrodfanati
0
230
Member Avatar for chaom79

Guys, right now i'm trying to develop a php file that can scan a virus in a server. The file and the virus definition i kept in a separate folder I named it 'virus'. I mean my website is not in a same folder as the virus scanner file. After …

Member Avatar for Juliopp
0
226
Member Avatar for Venom Rush

Hi there I'm new to using sessions and I'd like some input on what the best method is for my situation. The site I'm building requires a shopping cart. A very simple one I might add. There will be no credit card facility or login system (explained in next paragraph). …

Member Avatar for R0bb0b
0
83
Member Avatar for google503

[COLOR="Red"]When I open my page I get this error:[/COLOR] [code] Parse error: syntax error, unexpected $end in /home/a9617139/public_html/order2.php on line 215[/code] [COLOR="Red"]Here's all of the code for the page:[/COLOR] [code] <? session_start(); ?> <script language="JavaScript" type="text/javascript"><!-- function placeFocus() { if (document.forms.length > 0) { var field = document.forms[0]; for (i …

Member Avatar for R0bb0b
0
166
Member Avatar for mb2442

I'm trying to load a text file into a MySQL table. The text file has 2 delimiters (tab and space). The problem is that some of the fields in the text file occasionally have NULL values. When this happens, and I split (preg_split or split) the file out into an …

Member Avatar for mb2442
0
88
Member Avatar for justted

Hello everyone, I have been trying to get this piece of coding to work! It contains multiple if statements and has just sent my mind spinning. I have an error code and cant seem to get past it! What im trying to achieve is to basically check if the username …

Member Avatar for humbug
0
127
Member Avatar for Amisha_Sharma
Member Avatar for Shanti C
0
87
Member Avatar for google503

[COLOR="Red"]I have a code and it comes up with this error:[/COLOR] [code]Parse error: syntax error, unexpected T_VARIABLE in /home/a9617139/public_html/order2.php on line 1[/code] [COLOR="Red"]I don't know why it does. This is my code for that page:[/COLOR] [code] <?php session_start(); ?> <script language="JavaScript" type="text/javascript"><!-- function placeFocus() { if (document.forms.length > 0) { …

Member Avatar for cwarn23
0
137

The End.