39,320 Topics
| |
[CODE](https?://)?(www.)?[0-9A-Za-z]+\.com/[0-9A-Za-z]+/\?paged=[0-9]+[/CODE] i am getting this error in php [CODE]Warning: preg_match_all() [function.preg-match-all]: Unknown modifier '?' in C:\xampp\htdocs\expression.php on line 19[/CODE] i have test it on online testers it is giving correct results but when i ran it in preg match it gave above error | |
Hi, I'm learning making CMS. As you can see, I cannot do everything from scratch. So I request anyone with code in his codebase that works fine on paging or knows practical code to point me. I want to page my articles once are more than let say 10 Cheers … | |
I've got a website that has a registration page, after you type in all the information you hit an okay button and what is supposed to happen is the page sends a confirmation to the member's e-mail and then it adds the member information to the database. however I keep … | |
well there is the code and its not emailing me anything when i fill in the form. kind of new to php :((actully first time doing it.) [code=php]<?php /*code for form */ $emailSubject = ' PHP Scripting'; $webMaster = '******@gmail.com';/*just made stars for this site*/ $email = $_POST['email']; $name = … | |
[B][COLOR="Green"]Hey Guys i just was asking if i had data called zf and table cq_user and there is coulmn called emoney and i wanna increase This emoney Value By sumbit Like Increase at php page... but i need This emoneyvalue if it's 100 i need to increase it by 10 … | |
Can someone help with with a script to find broken links in the url column of a sql database and set it as broken in the status column? | |
hmm how will i start.. in my main page we can find the login form... that login form is made up of div... after i successfully logged in that login form div will become hidden then my other hidden div which is the control panel will appear.. that control panel … | |
| Hi folks, just a quick form question. Whenever I have used forms in the past I have always sent the data to a seperate page to be analysed, with a 'Back' button (using history.go(-1)) to return to the form to correct any errors. When editing forms (populated from a database) … |
Hi, I wonder if anyone has tried to implement PHP with Javascript. I have the code here like this: if($name=='Mary') { echo "<script type=\"text/javascript\">window.alert(\"Hi, Your Name is " . $name . " \")</script>"; } For some reason, I don't get anything on the screen. Could I embed javascript in PHP … | |
| I have a folder in witch i have a sub-folders and in each sub-folder i have text files(.txt). I want to count that text files and want to print the result on the page. Can someone code it out??? |
Hi There, I currently have a PHP/MySQL query script which displays the top 50 MySQL rows in the table, however, it displays the top 50 of all time. I would love a way for it to display the top 50 rows in the last 7 days. The table looks a … | |
| [code=php] echo ("<a href=foldername/".$file.">".$file."</a>"."<br>"); [/code] and there [code=php] $file = readdir($handle); [/code] in that case $file is a folder name with space.. So I have to put double quotation after href=. But it doesnt printing that double quotation. The link I am getting is only the folder name's first thing … |
Hi all, I implemented jsTree([URL="http://www.jstree.com/"]http://www.jstree.com/[/URL]) in my script, which is displaying a tree structure for me, but i have a problem The problem is onCliking on the anchor tag it is not taking me to the url given on the href attribute, please help me to resolve this Ex : … | |
| I have a complete list of a topics. I have to create a Index for A B C D E ... On Clicking those buttons without navigating to another page it shows only topics wich starts from that letter... How to code it in php??? |
Hello guys, pls i need a Form And PHP Code To Get Upto 15 Values Into A Normalize DB At Once Sample Attached MySQL DB Syntax [CODE]-- -- Table structure for table `litorder` -- CREATE TABLE IF NOT EXISTS `litorder` ( `order_ID` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Order identification … | |
Hi all in daniweb, I attempted some form validation but I seem to have made a complete mess of it. Before I introduced the validation and regular expressions it was working fine but because I'm not really sure of this topic I made some syntax errors. I would really appreciate … | |
Hi, I am wondering if anyone in this discussion forum uses some sort of web hosting service. Is there one that is free that supports Ajax, PHP, MySQL and ASP.NET? The one I use only supports PHP and MySQL. Anything is appreciated. | |
hello.... i want to diplay countrys vertically using <ul>.forexample there is 10 countrys. i want to dispaly first five in first column and next in secound column. how to do this dynamically. [CODE] [U]COLUMN1 [/U] [U] COLUMN2[/U] <ul> ARGENTINA <li>state1</li> <li>state2</li> <li>state3</li> </ul> <ul> AUSTRALIA <li>state1</li> <li>state2</li> <li>state3</li> </ul> <ul> … | |
I have a very strange problem... I have the exact same data on my local server and remote server, same php code everything... Same PHP Version.. I use this code.. echo ord($str[11]) << 24; And it returns a totally different incorrect result on the remote server, but totally fine on … | |
I am new to php and my sql so please bear with me. I am using a program php runner. I have 3 fields year make model that need to be drop down lists dependent on the prior selection. for instance if they chose 200 toyota there wont be a … | |
| I need a php code that will open and show a random text file(something.txt) in the webpage.I found so many scripts that open a random line in one textfile but i need a code in php that will open a random .txt format file in a specific folder to see … |
Hi. I am new to PHP and would like to have the support from the members of this forum to learn PHP in depth. Here is my 1st question/post to this forum and expecting the solution from this forum. I want to read a MS Word doc file and even … | |
Hello, can anyone explain how Craigs List creates the anounomous email addresses like [email]gigs-844r7-1770905448@craigslist.org[/email] and how the server then knows who to forward that email to and how it gets forwarded too the persons real email address. thanks for any help | |
How to set local hosting in Dream weaver? and what software went for testing local hosting in Dream Weaver for php testing? | |
Hello guyz, in my website, i have links like: [url]http://localhost/index.php?Module=Search[/url] i want to hide the php extension and make it something like [url]http://localhost/ukh/Module/Search[/url] i that pssoble via .htaccess or any server commands Note: I'm using Apahce server thanx | |
I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the … | |
Hi all, I am having a projectassign page,in that page i am having a dropdown box in which names of the projects are present.I am getting that project names from database. Below that list of users with checkbox are present. So i can select a project from dropdown and check … | |
How to read a text file into PHP with set format? My text file: [QUOTE]user@example.com user1@example.com user2@example.com user3@example.com user4@example.com user5@example.com ...[/QUOTE] How do I add the text file to my PHP file like this: [B]'user@example.com', 'user1@example.com'[/B] [CODE]<?php function nl2br2($text){ return preg_replace("/\r\n|\n|\r/", "<br>", $text); } $str= file_get_contents("sheet5.txt"); echo nl2br2($str); ?>[/CODE] This … | |
hi, i have uploaded images correctly but i can't upload a video file. plz any one help me in this regard......... thanxxxxxxxx........ | |
hi... i know how to upload video...even i can upload video to specific folder...but my question is user are upload video of any formate.. and i want to convert that video into .flv after uploading... can any one tell me how to do this..?? i will be very thankful to … |
The End.