39,393 Topics
![]() | |
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 … | |
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 | |
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"; … | |
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"; … | |
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) | |
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] … | |
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 … | |
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 … | |
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. | |
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!!! | |
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 … | |
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 … | |
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 … | |
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 … | |
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] - … | |
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. | |
How can I send a string from php page to c# windows form using socket? Can you give me some example? | |
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 | |
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 … | |
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"> … | |
Hello All.... Is "Entropy PHP 5.2.9" different from "PHP 5.2.9" ? If yes, any installation changes required ? | |
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. | |
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 … | |
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 … | |
![]() | 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..... |
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], … | |
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 … | |
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 | |
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" … | |
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']) … |
The End.