39,393 Topics

Member Avatar for
Member Avatar for echman

:icon_cry: Help pls! The following code is meant to upload images to a folder on a my server, but it does not work, Could any one pls helpme solve this problem :icon_cry: Heres the code ==================================== [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta …

0
55
Member Avatar for lifeworks

Hi Im hoping some fresh eyes will show me the issue here, been stuck on this for a while now... [code] $c = 0; for($i = 86400; $i < 604900; $i + 86400) { $start = $mktime - $i; $end = $mktime - ($c * 86400); echo $start . '<br …

Member Avatar for lifeworks
0
101
Member Avatar for sarithak

hi frnds.. i dont any thing abt excel formate... i need to do excel sheet update.. eg: i entered some text in textbox.then submit the form, then excel sheet should be update... also plz tell me how to do excel sheet first time uploading... i am good on mysql and …

0
53
Member Avatar for sacarias40

I was wondering if it was possible to upload say a picture file and a text file and in the script put them into a zip file programatically. if this is possible could you offer some tips or links please? regards! Thank you it looks like ill be reading for …

Member Avatar for sacarias40
0
183
Member Avatar for teapear

Hello guys.. i need your help to convert this sql statement to php array.. [code] $string = "SELECT TOP 15 e.id, e.title, e.timestamp FROM serendipity_entries AS e LEFT JOIN serendipity_authors a ON e.authorid = a.authorid LEFT JOIN serendipity_entrycat ec ON e.id = ec.entryid LEFT JOIN serendipity_access AS acl_acc ON ( …

0
48
Member Avatar for Aeterna

If this is my code how would I loop to the next dog of the current owner after the dog has been fed 3 times. [CODE]Foreach ($owners as $owner) { For($x=1;$x<=$NumOfDogs;$x++) { $dog = $dogs[$x]; shuffle($dogFoods); Foreach ($dogFoods as $dogFood) { For($y=1;$y<3;$y++) { Feed($dog, $dogFood); } } } }[/CODE]

Member Avatar for JugglerDrummer
0
83
Member Avatar for SKANK!!!!!

i made a script to create a directory and file within the directory for someone who is registering at my site also knows as [url]www.socialemo.com/theirusername/index.php[/url] but im stuck on the index.php file I DONT KNOW HOW TO WRITE HTML AND PHP TO THE FILE how am i supposed to write …

0
70
Member Avatar for vidhyaponnusamy

Hi, I want to add 1 hour with current time,i done this using following method date('h:i:s',strtotime('+10 minutes') but i want to take the current time in a variable and add that time with 1 hour,but that value could not change as the time changes. help me out to solve this …

Member Avatar for diafol
0
99
Member Avatar for Hcaja

Hi, I want to create a form that a user can fill in his information and send the form to his friends via email. Anybody have ideas or examples they know of.

Member Avatar for netdoer
0
77
Member Avatar for KathrynBassett

What's wrong with this code that it updates the collection name but not the description? [code=php]<?php require_once('../Connections/CSadmin.php'); ?> <?php // Load the common classes require_once('../includes/common/KT_common.php'); // Load the tNG classes require_once('../includes/tng/tNG.inc.php'); // Make a transaction dispatcher instance $tNGs = new tNG_dispatcher("../"); // Make unified connection variable $conn_CSadmin = new KT_connection($CSadmin, …

0
54
Member Avatar for szita1

I use phpDesigner but I have no idea how i could use debugger when there's a (submit)button in the code and would like to test what happens when the button is clicked. In this example, the debugger stops when it steps on the "Register" button. How should i set it …

Member Avatar for szita1
0
96
Member Avatar for pabzzmike

hello all, i need help with php/mysql syntax that will search a mysql dbase using 3 user-provided (from web form) options. All options are contained in drop-down menus. the mysql database has an auto column which is the primary key allowing for duplicate entries which are neccesary the table has …

Member Avatar for diafol
0
146
Member Avatar for trochia

Thank you for taking the time to read this. I already have code to download as *.csv/*.xls file from my MySQL database (in place) I need to add a "flag" into the DB as for when the last download was made, and then upon next download, only $fetch_newRecords and reset …

Member Avatar for trochia
0
138
Member Avatar for jayabalm
Member Avatar for ShawnCplus
0
28
Member Avatar for Shanti C

Hello all... Can i write all my site pages such as index.htm, support.htm,contact.htm .. etc to [url]www.mysite.com[/url] with URL Rewriting.. Please help on this.. Thanks in Advance..

Member Avatar for Aamit
0
99
Member Avatar for Coolbedog

Hi there, I'm lost in webSpace. I'm building a website for an amateur football team. One of the pages I'm including, "nextGame.html" will enable our players to declare their availability for a certain match by adding their name to a list of names already displayed on that page. I've started …

Member Avatar for Coolbedog
0
101
Member Avatar for troverdocz

i have a problem in updating the records... it did'nt work... wats the prob with my update code... i edit and when i update record nothing happens... can any1 help me.... thnx and godbless! [code=php]<?php header("location: index.php"); include("conn.php"); $mode=$_GET["mode"]; if($mode=="add") { $MachineNo=$_POST["MachineNo"]; $MnfgDate=$_POST["MnfgDate"]; $sql="insert into $PRD(MachineNo,MnfgDate) values('$MachineNo','$MnfgDate')"; $result=mysql_query($sql) or die(mysql_error()); …

Member Avatar for azamdb_83
0
106
Member Avatar for denxioz
Member Avatar for ShawnCplus
0
85
Member Avatar for alexgv14

hey guys, I have this php code that receives variables form flash to create image which works fine. what i want to do is save that image after its been created on my server instead of showing it as is in the code below. how do i go abut that …

Member Avatar for stbtwitter
0
169
Member Avatar for Solliweb

I created a database from a turorial, but gets the error message: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\addressbook\MysqlStep3HandleReadRecord.php on line 16 Part of the code is: [ICODE] $db_handle = mysql_connect($server, $user_name, $password); $db_found = mysql_select_db($database, $db_handle); if ($db_found) { $SQL = "SELECT*FROM tb_address_book"; …

Member Avatar for diafol
0
69
Member Avatar for Morrac

I am trying to create a page that has a form on it that will select a technician and then show his/her schedule in table for on the same page. The problem I am having is that when I click the select button it goes to a blank page. It …

Member Avatar for Fost
0
111
Member Avatar for CasTex

Hello, [code=php]function dwos($title,$body,$rpcurl,$username,$password,$categories=array(1)) { $categories = implode(",", $categories); function here. }[/code] My question is, how can I put value to categories ? [code]$category = "life, code, love"; // this not works ? dwos($title,$body,$rpcurl,$username,$password,$[B]categories=array(1)[/B])[/code]

Member Avatar for blocblue
0
107
Member Avatar for BzzBee

I want to fetch records from database and want to show listing in xml form. e.g [CODE] <url> <loc>http://www.test.com/about-us/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/about-factory/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/chairman-massage/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> [/CODE] the urls are dynamic. I am using statically now but want to use dynamically. …

Member Avatar for somedude3488
0
80
Member Avatar for m-hrt

i have 3 tables i want to show the data from them to a page. table1 "trip" table2 "seat" table3 "user_information" show all the data of table one which is working its showing but how can i show multiple table data any ways. show all data of trip and seat …

Member Avatar for m-hrt
0
178
Member Avatar for lamiv007

Hello, My brother asked me to create an application where he can save all his data and retrieve at any time, which does all the calculation. A friend of mine suggested PHP and MySQL would be a better option. I know HTML and CSS but very little of PHP. As …

Member Avatar for ithelp
0
92
Member Avatar for rariti

I am trying to greatly shorten code on my pages. Is it possible to include variables in my fetch fields? The below will all exist on same php page. Here is the code I want included in my fetch [code] // variables to include in fetch $abc = stripslashes($row->abc); $def …

Member Avatar for rariti
0
111
Member Avatar for bimaljr

Hi I have a variable which contains this data : $text = [QUOTE]This is the company’s profile info, Please see this. “This is special announcement,” I have this texts.[/QUOTE] Now I want to remove the special characters from this variable. I want to remove ’ “ and some other non-standard …

Member Avatar for nav33n
0
149
Member Avatar for BenzBoy

Hello Everyone, I'm a newbie and was just trying to figure out how to get a website published. I'm on a Mac and can set the site up on it but I need a FTP. Is there any where I can get a simple website published for free. I don't …

Member Avatar for BzzBee
0
109
Member Avatar for ongpong

other of my fellow friends says they cant see the website in ie9 and netscape but its running well in mozilla the problem in ie is that the only thing you can see is the background of the website check it out my site in ie if its working on …

0
71
Member Avatar for veledrom

Hi, I have created an pure OOP e-commerce web site with PHP. I want to make sure that my class files cannot be seen or downloaded by anyone. What do i do now? Other files html, css, js can be seen, no problem. My hosting company provides me a folder …

Member Avatar for HITMANOF44th
0
61

The End.