39,402 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how can i create an email address under my domain using php? | |
hai friendz !!!! Any one have online examination codez in php ??? plz help me !if u hav send it 2 me........plz its urgent...................... | |
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. | |
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 { … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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' … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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. | |
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 … | |
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 | |
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. … | |
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, … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
How to do it? Please! Thanks! A $1 mini-prize is available for the right answer (PayPal or AlertPay) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> <a href="privacy.htm" target="_NEW">-privacy policy-</a> <a href="spam.htm" target="_NEW">-spam policy-</a><br></td></tr> </table> </CENTER> <? } ?> I also get the … | |
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 … | |
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). … | |
[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 … | |
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 … | |
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 … | |
Hi What is the difference between Programmer and Developer? Thanks | |
[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) { … |
The End.