39,393 Topics

Member Avatar for
Member Avatar for r_sathya

Hai I am sathiya i display my database records using PHP . i display radio buttons to select the candidate. and at last i will give submit button to update . But i want to update each and every candidate by clicking the radio button seperately by using AJAX. please …

Member Avatar for digital-ether
0
98
Member Avatar for tc1967uk

Hi I'm a total newb at php and mysql but using Dreamweaver I've managed to create a php webpage containing a series of checkboxes (I think of them as tags) and a text field (for URLs) that allows me to enter data into a database. I've done a test post, …

Member Avatar for digital-ether
0
65
Member Avatar for dewhickey

I have code to propagate a drop down list that displays people's names. The problem is that the first name and last name are separate fields in the database, and I can only get the drop down list to display one of them. Here's my code: [code=php]<?php $result = mysql_query("SELECT …

Member Avatar for dewhickey
0
123
Member Avatar for CodeMama

Hi, I'm a newbie and am having a problem with either my where clause in my sql statement or something else, I think its the where because if I take that out the script works fine... Here is the error I get: Warning: mysql_fetch_array(): supplied argument is not a valid …

Member Avatar for CodeMama
1
131
Member Avatar for Dick Kennedy

I'M running a site on PHP 5.2.6, Apache 2.2.9 (shared hosting). Most of the site uses a CMS (MODx) but I have one section using home-rolled scripts. I have a file that gets included into these that checks user status by looking for the MODx session vars. On one script, …

Member Avatar for Dick Kennedy
0
118
Member Avatar for macokovac

hello guys i need put banner on 'my account table'. banner should included reflink of member or user who's accessing this page. here is banner picture: <img src="http://i35.tinypic.com/349ciza.jpg" border="0"> and here is all php code of my account table: [ICODE]<?php include_once('header.php'); if(isset($_COOKIE["usNick"]) && isset($_COOKIE["usPass"])){ $user = $_COOKIE["usNick"]; $myDb->connect(); $sql = …

Member Avatar for macokovac
0
176
Member Avatar for aneeshkurup

Hai all, <span >Test_Ajax</span> On mouse over of Test_Ajax I want display a tooltip which display the value of a variable (which is declered in php file). For doing this task how should I co-ordinate ajax, js, php and html files

Member Avatar for ~s.o.s~
0
237
Member Avatar for vssp

Hi I am trying to open the explorer window using php code .But i got the security issue .Please help me how to solve the issue. [code]<a href="file:///opt" target="_blank">adas</a>[/code] I got this error message Please help me how to fix the issue Security Error: Content at [url]http://localhost/test.php[/url] may not load …

Member Avatar for vssp
0
145
Member Avatar for sayaan

Hi, I have a problem in sending mail in HTML format using PHP mail() function. The problem is that the HTML is not rendered in microsoft outlook (showing raw data) but in yahoo it is good and the HTML is rendered and shown correctly. These are the mail agent I …

Member Avatar for peter_budo
0
95
Member Avatar for squidthekiller

i have problem with my syntax.. please help me.. [code=php]<?php require_once('../Connections/epurse.php'); ?> <?php function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue; switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case …

Member Avatar for peter_budo
0
57
Member Avatar for nathanpacker

I'm only writing this in the php section, because php is really all I know. My wife purchased a big package of downloads from a site, and now she has to go and download them all, because she only has 7 days to download them. So she has to click …

Member Avatar for pritaeas
0
95
Member Avatar for markaman

I've tried this multiple ways, the latest below. Maybe I'm on the wrong track. Thank you. [code]<?php do { ?> <?php [COLOR="Red"]$class='class="other"';[/COLOR] ?> <?php if($row_rsFrontPageAds['AdLink']) echo "<a href=\"" . $row_rsFrontPageAds['AdLink'][COLOR="Red"]"\"".$class."\">"[/COLOR]; ?> <img style=" " src="<?php echo $row_rsFrontPageAds['AdPath']; ?>"alt="" max-width="" border="" class="imgright1"/> <div align="justify" class="style48" > <?php if($row_rsFrontPageAds['AdCaption']) ?> <?php echo …

Member Avatar for markaman
0
74
Member Avatar for stevehart808

Hi everyone, Any ideas how to change this code so I can have a square thumbnails instead of always the same width but not height? Thanks [code] function CreateSiteThumbnail($srcFile, $destFile, $width, $quality = 100) { $thumbnail = ''; if (file_exists($srcFile) && isset($destFile)) { $size = getimagesize($srcFile); $w = number_format($width, 0, …

Member Avatar for stevehart808
0
229
Member Avatar for zanzo

I have two input textbox with the same name, when submiting the page I get only the value of the second textbox. how can i get the value of both fields???

Member Avatar for Aamit
0
120
Member Avatar for Shanti C

Is there any possibility to do online chatting with php. In clear, if we post our message ,the other person for whom we post will get that message with out inserting that message into the database... Can any one please help me out... Thanks...

Member Avatar for shivjamesh
0
519
Member Avatar for Coward

hi all i problem rotate image (png) code : [CODE] $myimage=imagecreatefromjpeg('test.jpg'); $mypng=imagecreatefrompng('opera.png'); $sizepng= getimagesize('opera.png'); $jpgwidth=imagesx($myimage); $jpghieght=imagesy($myimage); $pngwidth=imagesx($mypng); $pnghieght=imagesy($mypng); $pngwidth1=$sizepng[0] / 10; $pnghieght1=$sizepng[1] / 10; imagerotate(mypng,50,1); imagecopyresized($myimage,$mypng,0,0,0,0,$pngwidth1,$pnghieght1,$sizepng[0],$sizepng[1]); header("Contents-type: image/jpeg"); imagejpeg($myimage); imagedestroy($myimage); imagedestroy ($mypng); [/CODE]

Member Avatar for Rhyan
0
117
Member Avatar for cosby

hi everyone,i am having a problem with the maximum file upload i have read the forums about the maximum file upload and i went to php.ini to change the maximum file upload from 2mb to 3mb but if i upload 2.6mb file still the upload file doesn't work can you …

Member Avatar for cosby
0
91
Member Avatar for jithusdani

hi folks.. I downloaded the micro chat in hotscripts.com its working fine in my localhost , but its not working while hosting to any site, that means the message we are sending is disappearing after a second.. you can see the following link to see the problem [url]http://www.apolloinfosystem.com/microchat/index.php[/url]

0
59
Member Avatar for OmniX

Anyone know how to get a custom layout when sending email's via mail()? At the moment I would just like to start a new line in an email but eventually throw in images and etc. Any information be much appericated. Regards, X

Member Avatar for OmniX
0
159
Member Avatar for stealthmode

I have been trying to find a simple name and password tutorial that works and is easy to follow. Not having much luck. The name and password will be in a text file or mysql database which the user will be given, i do not need forgot password or email …

Member Avatar for PomonaGrange
0
136
Member Avatar for mr-cracker

Hello, I want to create my own script like [URL="www.anonym.to"]www.anonym.to[/URL] but with few additional features i want to use database, i believe its very easy to make but the problem i don't know php, i can write in visual basic and c++ but not php, What do i want?? to …

Member Avatar for PomonaGrange
0
158
Member Avatar for mvnr_83

Hi All, I have one requirement that, i am displaying results getting from various sites by sending request to their servers using http_client::get method.But it is taking much longer time to get back the response. I am using for loop to send the requests to all the servers(approx 40).So it …

Member Avatar for ShawnCplus
0
68
Member Avatar for jithusdani

hello shanti I also downloaded the micro chat in hotscripts.com its working fine in my localhost , but its not working while hosting to any site, that means the message we are sending is disappearing after a second.. you can see the following link to see the problem [url]http://www.apolloinfosystem.com/microchat/index.php[/url]

0
72
Member Avatar for kevin wood

not sure if this is the correct place to post but here we go anyway. what i am trying to do is put a table inside a div tag held within a php page but it is not working. here is the code [CODE]print "<h4>There are $num_rows records.<P></h4>"; print "<div …

Member Avatar for kevin wood
0
288
Member Avatar for asifkamalzahid

[I]n the following program i have the error [COLOR="Red"]Warning: ftp_delete() [function.ftp-delete]: Access is denied. in G:\WEBROOT\wilbourn\ftptest\uploadfunctionpage.php on line 89 could not delete wilbourn/ftptest/t.DOC [/COLOR] [/I] [CODE] <?php //Move or Upload Folder Using PHP FTP Functions function moveFolder($_server, $_user_name, $_user_pass, $local_dir, $remote_dir) { echo"$_user_name <br/>"; echo"$_user_pass <br/>"; echo" directories are : …

Member Avatar for asifkamalzahid
0
2K
Member Avatar for thomasEpand

Hello all, I use a database to extract the title of a url. I want to take save this title in a variable and then check if it is url1 or url2. If it is url1 call url1 javascript function else if url2 call url2 function. My code is : …

Member Avatar for sDJh
0
87
Member Avatar for agriyainfo

Hi to all, Did you ever see the Rock solid clone scripts like youtube,facebook,orkut and also social networking software for various segment like hospitals,colleges,schools and also for different communities...?If yes means just share with me too.:ooh:

-1
50
Member Avatar for gtamawale
Member Avatar for gtamawale
0
130
Member Avatar for Frosty[tnt]

Hey everybody this is my first post here and just learning PHP and need some help on an infinite loop problem. The code is supposed to find how many ways you can change a $1 dollar bill into coins using dollar coin, half dollars, quarters, dimes, nickels, and pennies. But …

Member Avatar for Frosty[tnt]
0
128
Member Avatar for sayaan

Hi everybody, I'm new in this forum, I'm a PHP developer looking for good solutions for changing colors, fonts, styles of a site on the fly. The idea is, the user will be given options to customize his/her web site's font, color of various elements etc. and then the site …

Member Avatar for PomonaGrange
0
117

The End.