39,316 Topics

Member Avatar for
Member Avatar for jtmcgee

I am having problems with str_replace. What I am doing for the administration pages of my CMS I have a include page for the top navigation (nav.inc.php). So I'll show you my code. [CODE] $page = $_SERVER['SCRIPT_NAME']; $prefix = '/administration/'; //get main and sub $main = '<div class="main-links"><a class="wnav" href="'.$prefix.'">Home</a><a …

Member Avatar for jtmcgee
0
163
Member Avatar for Aamit

[code] <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> </body> </html> [/code] here is java script [code] <script> var time=1; function timeHere() { time = time + 1; finalTime = time / 10; } function sayTime() { finalTime = time / 10; //return finalTime; alert("Thank you for coming to my site! \n You have …

Member Avatar for diafol
0
791
Member Avatar for uppibhay

Sirs,I w'd like to build on a website wherein i've a text box n accept code from user.I then w'd like to run code and display output in page. Something like [url]www.codepad.org[/url]. Plz help me with this....

Member Avatar for Salem
0
81
Member Avatar for theimben

Im tring to replace a string. But it just doesnt work for some reason. Ive tried str_replace and preg_replace but neither have worked. My script basically caches a webpage then replaces a given string. The problem is replacing the string then saving it. Could you please help me out... [code=php] …

Member Avatar for mschroeder
0
173
Member Avatar for ammupon

Is it possible to create a desktop icon (as in VB), for my application, so that users can access the form from their desktop to make complaints? I am using PHP with MS SQL. Please Help! Thanks in Advance!

Member Avatar for death_oclock
0
71
Member Avatar for jeffc418

Hi everyone! I have a problem with a very simple solution I've just been unable to find :D Say you have a text file that says "My name is jeffc418. My name is kkeith29. My name is =IceBurn=." How do you get it to say just: jeffc418 kkeith29 =IceBurn= Would …

Member Avatar for death_oclock
0
420
Member Avatar for ashafaaiz

Hi can anybody help me? I am working in a networked system. Just i want to search all the images in the H: drive. What i am exactly trying to say is, i want a search program exactly as 'istockphoto.com' of my own. Could you tell me this is possible …

Member Avatar for gotmick
0
183
Member Avatar for wwwmadeasy

hi there ... i want to Handel a select field in php but i could not ..so i was wondering if someone can help.... what i want is there will numbers from 3 to 40 listed in select field and when user select 3 3 text box will appear and …

Member Avatar for wwwmadeasy
0
162
Member Avatar for rajeesh_rsn

Hi I had to echo a table from a database in a html column (td) but the problem is the width of that column is increasing when show that para.... Please help me... Thanks Rajeesh

Member Avatar for ashafaaiz
0
98
Member Avatar for SinghR

I needed some in making a comment box. I am making a website most of the thing are done, but one important thing I still need to do is add comment box or textarea. I tried in html but looks like i need .php codes and i have no idea. …

Member Avatar for death_oclock
0
124
Member Avatar for amy.damnit

I am new to PHP, but eager to become a "pro" ASAP! What does everyone think about using an IDE with PHP? What tools do you use? I installed Eclipse PDT All-In-One on my MacBook. I am getting the hang of it, but it still doesn't seem as user-friendly as …

Member Avatar for royganor
0
129
Member Avatar for khr2003

Hi I have an xml file which i am trying to display through a php script, it displays everything fine until i change the contents of the xml file to Arabic letters at which the file does not load. here is the xml file: [CODE]<?xml version="1.0"?> <studentmarks> <listName>name of the …

Member Avatar for khr2003
0
76
Member Avatar for shankmuchlove

Sirs, I would like to do a project for my final year BE. I would like to do a challenging project that should be finished within a couple of months. I thought of doin an online web based project using PHP. I have adopted daniweb.com as my project guide. Could …

Member Avatar for shankmuchlove
0
109
Member Avatar for Aamit

Hi I want to count page views .. suppose when user [COLOR="Green"]viewing page 1 and spend minimun 10 seconds time on page 1[/COLOR] then i have to [COLOR="Red"]calculate view as 1[/COLOR]... so how to do that?? plz give me sample example

Member Avatar for Aamit
0
355
Member Avatar for mgn2683

Hi, This may be hard to describe what I'm trying to do. I have a database table called assignments where there are columns: section, team, and candidate. For each section, there are 3 teams- 1, 2, 3. The sections are listed alphabetically from A-V. There are 5 candidates per team, …

Member Avatar for Aamit
0
146
Member Avatar for mvsjs

Hi, I have given my code below. The logic is: - Display all Users details who have enrolled for access to my web page (default value for authorization is zero) on clicking 'NEW USERS' - For those records where check boxes checked authorization will be updated to 1 (access given) …

Member Avatar for Aamit
0
138
Member Avatar for confusedGirl

As a beginner, I designed a website using php, but unfortunately I found difficulty with 3 codes. I have already written them but am not sure why they didn't work . Please check it for me… There are: [COLOR="Red"]1-changing pending status to accept or reject from admin ,,,[/COLOR] [code=php]<?php session_start(); …

Member Avatar for Fest3er
0
96
Member Avatar for knrakesh

Hello friends Iam unabing to add subcategory and iam trying to add in the same table in which the categories are there can anyone please help me in adding subcategories and categories in a same table please Thank u KNR

Member Avatar for death_oclock
0
201
Member Avatar for vsla

Hi, I am new to the site, but I am currently trying to build an information form so that customers can submit some information via email to me, sort of like a contact form but with some other information on it. I have been checking my code over and over …

Member Avatar for death_oclock
0
109
Member Avatar for 0weavern

OK, I'm new to PHP and SQL so you'll probably have to explain most tings in laimen terms! I have created a website with PHPMaker, a kind of loaning libary where stock gets loaned out and out and then returned. Now it works all ok, however I want to be …

Member Avatar for death_oclock
0
165
Member Avatar for Sheridan

HELP! I am a refugee from Apache trying to use PHP with IIS. I have PHP installed and running on IIS 6. This is good. Not so good is the fact that phpinfo() does not recognize MySql and I cannot generate error messages. Anyone know where I can look for …

Member Avatar for lightningrod66
0
109
Member Avatar for khr2003

Hello every one I have a forum written in php language. What I want is to display all the comments made by one user on a certain topic. The database had two tables "forum" and "comment". Forum table is structured as follows: id cat_id title date_time userid name post allow …

Member Avatar for mschroeder
0
284
Member Avatar for Animosity

Well, I got this from a tutorial across the web and I saw a post from this website concerning with what I had. Though nothing works, I'm trying to see what can I do to have the content simply send in and flow though. Flash: [code=actionscript] stop(); System.useCodepage = true; …

0
48
Member Avatar for heryasa

i need help to build web chat using ajax and php for my final project to get my bachelor degree. the feature include: room chat, private chat, file transfer, voice chat, and video chat. who want to help me please feel free to email me at <snipped> thanks

Member Avatar for SavuthHeng
0
104
Member Avatar for ashafaaiz

hi, I am a new member of daniwab. Pl, help me. Just i want php codings to search images in a folder(including subfolders) in my drive. Search is just like windows search program. But i want to search images without using database. Just i type any code word (for eg:- …

Member Avatar for manish.s
0
2K
Member Avatar for knrakesh

Hello friends please tell how to add ssubcategories and editing in a single page please provide code if u have i worked on that but iam getting errors please help me in solving the problem

Member Avatar for knrakesh
0
136
Member Avatar for zippee

My customers who use AOL email cannot receive my email generated from php script I use. I try to look into AOL email guide but do not have a clue how to solve the problem. Please can anyone help? Here's my code: [PHP]require_once "Mail.php"; $host = "abc.com"; $from = $_POST['client']." …

Member Avatar for arvindhar
0
248
Member Avatar for jhonnyboy

hey guys, im a bit new to php. I was wondering if any of you guys could help me out with this email code i have to send me an email. I have a website with a service link then the user needs to pick which kind of service he/she …

Member Avatar for buddylee17
0
204
Member Avatar for thunderbbolt

I am trying to read my database from mysql. I have two fields author and books. I need the author field to be in the drop down list and then when I choose an author I need it to display below on the same page all of the books by …

Member Avatar for ambiliya
0
120
Member Avatar for squarkman

Good morning. I would like to replace line 178 with a statement which would simply open a new url and close out the page that calls the new url. Can this be done with one line of code? Thanks sin advance. [code=syntax] <?php if(isset($_POST["Submit"])) { require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); …

Member Avatar for buddylee17
0
195

The End.