39,316 Topics

Member Avatar for
Member Avatar for sureshrajagopal

Is it possible to drag and drop file and folders like windows application using php

Member Avatar for petr.pavel
0
40
Member Avatar for god_1896

hi all; what is wrong with in this code, please correct it thanks [code] <?php $value=""; $city=""; echo $result=city::getDisplayName($value->id==$city); ?>[/code]

Member Avatar for petr.pavel
0
90
Member Avatar for khanbaba

Hi Can anyone please help me sort this problem out I create store procedure in mysql and I want to call this in php. The store procedure is executing ok in mysql but when I call this into php I get fatal error: call to a member function prepare() on …

Member Avatar for petr.pavel
0
114
Member Avatar for kwesiaryee

Hi there, I desperately need help with this. I need to develop a code to upload an image to mysql database. The upload have to be done with a foreign key attached to the upload. eg.(image_id, image(blob), fileType, date_entered and your_id(foreign key). please can any one help me with this, …

Member Avatar for petr.pavel
0
101
Member Avatar for EmpireZ

On my game , my bank and money is being limited to 2 billion. Seems like the first 4 numbers (2147) are the same for everyone who has that much, I tested it out on money too and it's only going up to that number even though I edit db …

Member Avatar for ryan_vietnow
0
119
Member Avatar for lolo1313

I am using Microsoft Visual Web developer for a site that was already created in PHP. I maintain the site, and have to add a .jpg image of a poster next to the PDF link of the poster for teacher's to download. I am not sure what code to use …

Member Avatar for langsor
0
96
Member Avatar for CzechRock3

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/fellowes/public_html/createaccount.php on line 108 [CODE]include("conf.inc.php"); $tbl_name="tbl_courses"; $sql=mysql_query("SELECT * FROM $tbl_name WHERE crs_semister=1 AND crs_period='A'") or die(mysql_error()); $result=mysql_num_rows($sql);[/CODE] [CODE] <?php while($rows=mysql_fetch_array($result)) { ?> <option><?php echo $rows['crs_code']; ?>//Line 108</option> <?php } ?>[/CODE]

Member Avatar for ryan_vietnow
0
187
Member Avatar for CzechRock3

I am writing a forum site and this is an error message I randomly ran into. I have used this code structure before but never ran into this problem. "Fatal error: Call to undefined function form() in /home2/fellowes/public_html/comment.php on line 14" [CODE]<?php session_start(); $tbl_name="???"; $userid=$_SESSION[userid']; $username=$_SESSION['username']; $comment=form($_POST['txtComment']);[/CODE]This "$comment=form($_POST['txtComment']);" is line …

Member Avatar for somedude3488
0
821
Member Avatar for armakapo

Hello, i'm very new here in these forums. I'm making a webpage for registration for my online game's server. My problem is in the registering part, i've got the query to register the new user on the database, but first i need to check if the name of the account …

Member Avatar for armakapo
0
94
Member Avatar for cali_dotcom

Hi' i'm a newbie PHP programmer looking to beef up my resume a little bit so i can land a job. i just completed a personal project, a job search website, with employers loggin, job search by keyword, jobsearch by category, a couple of polls and also an employers area …

0
53
Member Avatar for mattdahack

Hi there all, I am brand new to php (3 days under my belt). I am trying to modify a webmail.php script that came on this cd that I got with the learning php book. I am having difficulty getting the new fields I added to work. I am getting …

Member Avatar for langsor
0
139
Member Avatar for nepeanmedia

Hi Folks What I'd like to be able to do is to upload files .doc, .xls, .pdf etc and only provide access to certain users. For example user X lgos in and has access to X.doc and X.pdf. User Y logs in and has access to Y.doc and Y.xls. Is …

Member Avatar for langsor
0
104
Member Avatar for retareed

I need to display a dropdown list of hospitals several times (10) in one form and I'm not sure of the best way to go about this. I can get the first list to display, but the subsequent lists just show "Select". This is my code: [code]<td width=\"200\"><select name=\"hospital1\"> <option …

Member Avatar for langsor
0
276
Member Avatar for titus.ntny

I am designing a new website. I am not very familiar with php. I am planning to start a new site wherein i am thinking to get contents of other news websites & update my site automatically as the other sites gets updated. I heard that there is a method …

Member Avatar for langsor
0
110
Member Avatar for kwesiaryee

Can someone help on how how to build an intranet for my php website for more than two computers, so that all the computers can access the same web content on the local server. I tried but I got errors telling me the website cannot be accessed even when I …

Member Avatar for langsor
0
81
Member Avatar for architact

Hello Everyone, The problem I am facing is very simple, I want to add daily news letter subscription for the users on a site. Please tell me how can I do that. Thanks

Member Avatar for langsor
0
54
Member Avatar for ramseswar

i want to create a table in sql database using php code. if i try to use the sql command(given below) in my php source code [code]"CREATE TABLE new_table( id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, id1 VARCHAR(55) NOT NULL id2 VARCHAR(32) NOT NULL, id3 CHAR, PRIMARY KEY(id));"[/code] i get syntax …

Member Avatar for langsor
0
130
Member Avatar for hassanahmad

Hi everyone ! I am a new to this forum. I have a question to ask: I have developed a php imagehosting script for one of my customer. The demonstartion can be found at : [url]http://picly.com[/url] (I have not uploaded the admin panel there, but you can find it here: …

Member Avatar for Goins
0
196
Member Avatar for maydhyam

Hi All, Could you help/guide me accordingly please...My intentions with this piece of code is for the relevant image to display with the respective user...my problem is that it doesn't work for the second user type (SysAdmin), it only works for 'Admin'... [CODE=php] <tr> <td width="255"> <? if($arr[6] != 'Admin' …

Member Avatar for maydhyam
0
102
Member Avatar for Gabums

I am going to apologize off the bat for posting an email form question when there are sooooo many others... but honestly, i looked at them all before i wrote this. I have a form that contains a place to type in 'name', 'subject', 'message', and 'email'. When ever the …

Member Avatar for Gabums
0
128
Member Avatar for vinnyroundfoot

Hi Everyone, I will soon develop a web application (normally with PHP (cakePHP)) which should allow the users to view their related PDF files. Obviously, I dont' not want that users are able to view other user's PDF files (using for example URL rewriting). I'm looking for a solution for …

Member Avatar for nepeanmedia
0
1K
Member Avatar for queenc

hi i have a page where all the username will be listed.i want to delete them.........before tat i want ask the user whether he wants to delete in a popup.if he clicks yes then his name should be deleted 1st page [CODE]<a href="http://cc.com/icc/delete.php?id=<? echo $value[0];?>"><img src="images/b_drop.png" border="0"/></a>[/CODE] delete.php [CODE]<? $id=$_GET['id']; …

Member Avatar for pabz_sarquilla
0
75
Member Avatar for broady

I have a little knowledge of SQL, however very very little of php, I am wanting to display information from a database in a small area of a php page, I have already created the area on the page etc and "hard coded" the info in there for now, however …

Member Avatar for somedude3488
0
88
Member Avatar for jencinas69

Hello I have a txt file with this content 456510 P115 JANDAY CONURE Very pretty, green/orange/blue, but keeps telling ME to shut up! $250/obo. 928-555-1212. I will like to now if its possible to write ID Category Description in top of the file like this ID Category Description 456510 P115 …

Member Avatar for jencinas69
0
219
Member Avatar for veledrom

Hi, I have checked several examples but, i couldn't do the pagination. Please help me because i simply can't do it. I am stuck with my assignment because of this. Table is shown below. Thanks [code] CREATE TABLE `country` ( `code` varchar(255) default NULL, `rank` int(11) default NULL, `name` varchar(255) …

Member Avatar for veledrom
0
79
Member Avatar for rati

HI All, I am using doctrine in my project... now i am trying to update an already existing query.I am getting some DB exception..can anyone tell me what ia wrong in my code [code] $q = Doctrine_Query::create(); $campaign->update('TableName') ->set('name' , $args['name']) ->set ('credit' ,$args['credits']) ->set('comments' ,$args['comments']) ->where ('id = 2') …

Member Avatar for ShawnCplus
0
57
Member Avatar for kamaster

Hallo. I am working on a listing site ([URL="http://www.togoenvogue.com"]www.togoenvogue.com[/URL]) and need to set an auto deletion feature. What I want is this. When the user wants to add a listing (job offer for example), he will need to select from a SELECT drop down how long he wants his message …

Member Avatar for R0bb0b
0
120
Member Avatar for kwesiaryee

:S Hi I need help urgently.. I want to insert data into two mysql tables using just one form. Tried to do it through the following code below, but keep on getting horible errors when i submit. The essence is that the client has to fill all data without moving …

Member Avatar for R0bb0b
0
94
Member Avatar for PomonaGrange

Hi, I was wondering, if it is possoble (or how to) include a php file with a get form value passed. For Example: states.php?state=NY. This file would be incuded into another php file so that it would display only the items that would be in NY state. Anyone know how …

Member Avatar for PomonaGrange
0
134
Member Avatar for zegames

[CODE=php]<? $url = 'http://www.gamespot.com/pages/search/search_ajax.php?q=grid&type=game&offset=0&tags_only=false&sort=rank'; # regular page: #url = '://www.gamespot.com/search.html?type=11&stype=all&qs=grid'; function disguise_curl($url) { $curl = curl_init(); $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = "Connection: keep-alive"; $header[] = "Keep-Alive: 300"; $header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; $header[] = "Accept-Language: en-us,en;q=0.5"; $header[] = "Pragma: "; curl_setopt($curl, CURLOPT_URL, $url); …

Member Avatar for zegames
0
185

The End.