39,393 Topics

Member Avatar for
Member Avatar for slangnit

so i have this code on 3 different pages... and i'm kinda a newb... can u please help. the script is suppose to let someone select a $manufacturer... then from there select a $model... and then finally see the $notes for that model. The script works until it gets to …

Member Avatar for bgeisel1
0
116
Member Avatar for praveen_dusari

hi, i have developed a shopping cart using php mysql, it has around 50 products in home page its taking too much time to load can anyone suggest how to optimise my database so that it takes less time

Member Avatar for Josh Connerty
0
90
Member Avatar for modesto007

hi guys, im creating this contact form code, apparently its having error as below [Parse error: parse error, unexpected '"' in E:\wwwusr\vhosts\ceriategas-premium.com\httpdocs\test3\send_contact.php on line 6] ive checked the line 6, but i cnt find the errors... do help me please... [code] <?php if (isset($_POST['submit'])) { // Collect variables $subject="$name"; $message1="$coname"; …

Member Avatar for Josh Connerty
0
175
Member Avatar for ahmksssv

Hi frnds... here i am getting some error...plz check this one... these are the two files regarding my code...[B] thumbnail.php[/B] [CODE]<?php class thumbnail { var $img; function thumbnail($imgfile) { //detect image format $this->img["format"]=ereg_replace(".*\.(.*)$","\\1",$imgfile); $this->img["format"]=strtoupper($this->img["format"]); if (strtoupper($this->img["format"])=="JPG" || strtoupper($this->img["format"])=="JPEG") { //JPEG $this->img["format"]="JPEG"; $this->img["src"] = imagecreatefromjpeg($imgfile); } elseif ($this->img["format"]=="PNG") { //PNG $this->img["format"]="PNG"; …

Member Avatar for Josh Connerty
0
450
Member Avatar for multicoder

Hi, I have a strange situation to tackle.I have a paging for the website I am developing. there are few records in the table which i want to skip from to display in my list in the web page. But paging works on the total num rows as using mysql_num_rows(resultset)

Member Avatar for multicoder
0
106
Member Avatar for sandipan.rcciit

I am creating a code in php to read the content of a file and save it in a php array. this is my code: [CODE] <?php $myFile = "isbn.txt"; $fh = fopen($myFile, 'r'); $i=0; $ans=array(); while(!feof($fh)) { $theData = fgets($fh); $url='https://isbndb.com/api/books.xml?access_key=RPGYD5PC&index1=isbn&value1='; $url1=$url.$theData; //echo $url1; $ans[$i]=$url1; $i++; } ?> [/CODE] …

Member Avatar for sandipan.rcciit
0
223
Member Avatar for ahmksssv

Hi frnds... here i am confusing a lot..lot...from last 4 days i am struggling here...plz solve this problem aeap with patience.... This is my code for uploading images to my folder and db table...now, all images are blur at my user side...so, i need to create THUMBNAIL images for every …

Member Avatar for burgercho
0
107
Member Avatar for rudevils

Hi all, im starting to use paypal in my custom cart, i want to use express checkout in my cart. Can anyone tell me how to retrieve paypal token with php script ?? or just give me a simple brief about it, ill try to read paypal tutorial, but its …

Member Avatar for dnanetwork
0
172
Member Avatar for modesto007

hey all ... im pretty much new with php. ..as a start doing project on creating simple "Contact Form..." having hard time... though im enjoying it. cheers.

0
13
Member Avatar for justM

Hi guys I would like some help with this page that I have been working on. I would like to know how I could add comments on page and view the existing ones Here attached is the page and its accompanying pages... Any help is welcome Thank you!!!

Member Avatar for justM
0
70
Member Avatar for 83apple

Hello, I sell sever php scripts and am looking for an installer for the the scripts. I want to include it with my script packages for easy instillation. It should basically be able to install the scripts, such as enter sql information and such with minimal user input. If anyone …

0
54
Member Avatar for goldy736

hi, Am a newbie in php, Its been a quite a long time am trying for countdown timer in php , i have 5 different php pages with 5 questions each , when the user starts with the Q.No 1 the timer should start at each and every pages.Can any …

Member Avatar for Menster
0
3K
Member Avatar for JerieLsky

Hi.. gud day.. i'm a beginner in php programming, i just started today and i want to ask a question about the use of the "isset()" function. the code in the .php file comes like this: [code=php]<?php if(isset($_POST["RegisterButton"])) { mysql_connect("localhost","root","") or die (mysql_error()); echo "Connected to mysql"; mysql_select_db("myDatabase") or die …

Member Avatar for ShawnCplus
0
116
Member Avatar for jbennet

Okay i am buiding a guitar tab database using php and mysql. Anyway, im wondering how i would store the tabs so they wouldnt wrap or lose thier formatting (and also how to handle line breaks, i know that if you open a linux text file in windows, sometimes it …

Member Avatar for ShawnCplus
0
74
Member Avatar for eawade

Hello Everyone, I have an issue that is driving me crazy. I have a xml document and associated stylesheet. I simply want to be able to 1: declare a top level variable 2. Pass a variable value from the URL to the stylesheet so that, for example, if [url]http://someurl.com/index.php?id=3[/url] - …

0
65
Member Avatar for alexgv14

I want to get the contents of a particular file on a the web server, and then echo the contents into a text box on a web page. What should I use. I was thinking file_get_contents would probably be the best bet.

Member Avatar for emarshah
0
93
Member Avatar for SuperErik

How can I send a string from php page to c# windows form using socket? Can you give me some example?

Member Avatar for kvprajapati
0
807
Member Avatar for mikejamesuk

I finally got remote debugging to work thanks to the last few lines of: [url]http://www.i-programmer.info/tinyURL.php?id=190[/url] mikej

Member Avatar for emarshah
0
108
Member Avatar for borntowin_786

Hi , I am using codeigniter for my project.On admin side i am using spaw editor to add content.On user side i have used a code so that for large content to have read more and close link.For normal text no problem what so ever.But suppose in a content we …

Member Avatar for emarshah
0
443
Member Avatar for dwdata

I have a form which allows for the user to pick ZERO or MANY items. I was hoping when I SUBMIT the form, all the values would update in the field. Here is the form code: [code=html]<tr> <td><div align="right">Instruments:</div></td> <td width="116" align="center" valign="middle"> <div align="left"> <select name="Instrument" size="5" multiple="multiple" id="Instrument"> …

Member Avatar for emarshah
0
163
Member Avatar for bhanu1225

Hello All.... Is "Entropy PHP 5.2.9" different from "PHP 5.2.9" ? If yes, any installation changes required ?

Member Avatar for emarshah
0
83
Member Avatar for Devendra1

Hi there I have programming background, but I am very much new to the world of PHP. Can anybody tell Which software(s) I should use to write and compile code in PHP. Give me some basic knowledge to start practically with PHP.

Member Avatar for jbennet
0
344
Member Avatar for vanessia_1999

HI everyone I thought I got it, because last time I was having problem with the information being displayed until someone told me to have consistant column. I fix that problem, adn thought it would be not problemto add another column. I added another column and now the quantity sold …

0
91
Member Avatar for zachabesh

Hey all, Got a tricky little problem here: I wrote a bookmarklet and a php script to email the current url of the page I am on to myself. The bookmarklet looks like this: [code]javascript: var url = window.location.href; var user = 'myemail@email.com';window.open(myserver.com/mailurl.php?url=" + url + "&user="+ user);[/code] The php …

Member Avatar for zachabesh
0
466
Member Avatar for kingben

what do i need to know/use to authenticate users on my login page based upon their gmail/yahoo/hotmail/msn etc. username and password. i.e if they have a valid gmail username and password, they can acess my site.....

Member Avatar for kireol
0
101
Member Avatar for absk

There is this text file with around 80,000 words, all in lower case, in alphabetical order. How do I read these words into associated arrays? I mean, words starting with 'a' go into $words['a'], those with 'b' into $words['b'] and so on.. The array should become something like [I]$words['a'][0], $words['a'][1], …

Member Avatar for ShawnCplus
0
153
Member Avatar for arvindikchari

Hello I have a script which uses CURL to create a database using CPANEL. But it is giving the following error message: [code] Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/aquarius/public_html/createdb/includes/ecurl.class.php on line 35 [/code] It is not an issue with …

Member Avatar for kireol
0
274
Member Avatar for mana_panigrahi

Hi All, My requirement is to develop an editor which should support XML,PHP,Python,DAT and normal file formats. I am trying to get information like: is there any free editor developed in PHP or some other langauage is available which can be customized or any idea to go ahead Regards, -Manoranjan

Member Avatar for cwarn23
0
127
Member Avatar for dwdata

I have a query that retrieves records from a table: [CODE] <?php $query = "select * FROM Ev_AvVolunteers where id_Event='$id_Event' ORDER BY Name"; $results = mysql_query($query) or die("Error performing query"); ?> [/CODE] It is sorting by Name now BUT I want a different sort. There is another field called "Instrument" …

Member Avatar for dwdata
0
141
Member Avatar for coubury

Hello. Im getting this error on a product page on my website Quote [QUOTE] 'Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/supremew/public_html/catalog/osc/products_new.php on line 89'[/QUOTE] [code] ?> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) …

Member Avatar for Menster
0
227

The End.