39,323 Topics

Member Avatar for
Member Avatar for soddengecko

Hi All I am having a bit fo an issue with an if/else statement inside a while statement. Basically there are two while statements. one to retrieve a distinct value, the second to list all links associated to that distinct value. I am trying to build a favicon fetcher to …

Member Avatar for langsor
0
143
Member Avatar for smartness

Hi guys, which good free host would you recommend me, i have a domain, and want to bind it with that forum, but first i need a good free host (not auto install, i install it by myself) but i don't know which to choose... interested on Good Uptime, servers …

Member Avatar for johnxflynn
0
205
Member Avatar for gpdrums

I want to redirect authenticated users to a personal account page where they will see links to pdf documents in their folder. 1. How do I perform this redirect? 2. How do I call the file names for the documents in the account folder? Thanks much!

Member Avatar for antwan1986
0
108
Member Avatar for MVied

Hi, I've been working with PHP for about 6 or 7 years now, and recently I came across a problem that I really couldn't figure out. At my work, we have management software that has been worked on for years and years by a lot of different programmers. It is …

Member Avatar for MVied
0
219
Member Avatar for pabz_sarquilla

Hi - Can someone please help me? I have a html table generated by php mysql and have a header to download it to excel. My problem is, I have this cell/table data that displays .10 in html and when I exported it in excel it displays as 0.1. The …

Member Avatar for pabz_sarquilla
0
2K
Member Avatar for K?!

What's wrong about this code? ($matches is a 2 dimensional array) for($i = 0; $i < count($matches); $i++) { [INDENT]echo $matches[$i][0]->getName_team_home()."<br />";[/INDENT] } It's not the actual code, it's just an example, originally it has to put the names of a team playing home in a table. It only shows …

Member Avatar for K?!
0
93
Member Avatar for god_1896

hi all; i have a problem on my code, it does not display the city after I click the selected city. intead i got an error. please check the line of my code. this code works fine. [table]echo '<td><a href="index.php?menu=hotel&amp;select='.$value->id.'">'.str_replace("&","&amp;",$value->name).'</a></td>';[/table] but this part of code here is the the problem. …

Member Avatar for petr.pavel
0
115
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
97
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
304
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

The End.