39,393 Topics
![]() | |
hi all, i have a problem with the array search in php.I have an array like ("apple","orange","mango") and i have a variable as $var="apple 1". Now i want to search this $var is exist in the above array and if so want to retreive that element from the array? that … | |
Hi, Please help me.I am new to PHP.I dont have any idea. For Example,i had set of 100 records in the table. Sample Design:PREVIOUS [U]1[/U] [U]2[/U] [U]3[/U] [U]4[/U] [U] NEXT[/U] Using PHP :if i click 1 (first 10 records must be list out in the web page) and then if … | |
I included a file in one of my sites via an iframe (simplest solution and by FAR not permanent), just to get a feel for the way it might look on the site However, after adding the iframe to the site, i have no other data, the page is saved … | |
hi pls give me the code for verifying the value in the drop down list thanks in advance chandan | |
Hi all i am a newbie and try different things everyday and always come here when i am stuck with something. I want to write a script using curl and php that goes to this link :[url]http://tools.cisco.com/WWChannels/LOCATR/openBasicSearch.do[/url] and then goes through each page for each country capturing a list of … | |
l am a php developer living in Zimbabwe,in need for help on selecting mercants who can help in my acceptance of payements from all over the world at an affordable cost | |
trying to get the user input via check boxes in my form. Data is held in an associative array $_POST, but when in processing page where I send the details back to myself I'm not quite sure what to do next. I figure I have to iterate my way through … | |
i'm currently working on a blog and i want it to get output from the database without refreshing the whole page. please can anybody help cos i'll be most grateful. thanks | |
Hello all, I have a bit of an issue, Currently I am working on a forum system. This is the code for when a person click on a forum category. I would like some suggestions as to how I could implement in such a way that if a non user … | |
Hi can any one help me!!! I need to display the latest entries by date and time ie i stored the date as 2009-Apr-16. so that i wrote a query as select * from tbl_projectstatus order by date asc ,time desc" But the above code displays as follows ie Normaly … | |
Hi , PEARS installed on my demo server and i want to run my script containing timezone but i am unable to run the script, the script is working properly on windows but as oue demo server is on linux i am uanble to run the script on linux,so plz … | |
I have created a form with PHP and connectied to database. Now i want to add images through my form and save in MYSQL database. Once i click on SUBMIT button i want to see total profile with image in new window Please provide complete code to add image from … | |
Hi all, We are experiencing the following problem with the latest versions of IE and FF in regards to sessions. If anyone has encountered these problems before, any insight would be valuable. [B]In FF:[/B] An ongoing problem where sessions are saved across multiple tabs and windows in the same machine. … | |
Hello all, I run a student website for law students, and got an amazing present today. A zip file with 1500 html pages with law related material. I need to integrate this into my vbulletin forum somehow. Some of the pages are good as simple posts, and the rest would … | |
If i have 3 records and if i apply random function to it ,i is displaying last two records frequently third record is displaying rarely but i want those three records to be display frequently can any one solve this problem, | |
Hi, This is my array and i want to make [2] => 1 to [2] => 4 How do i do it? Thanks [code] Array ( [SESSION] => hs6f5ul7q9dic13nv7crikf0p2 [USER] => Guest [5] => 3 [1] => 3 [2] => 1 [7] => 1 ) [/code] This code doesn't do … | |
Hi am newbee to this forum.. feel happy to join with your [urlsnipped]web design[/url] and [url snipped]web development[/url] team... Once again i thank you friends.. have a great day | |
I am new to php. I have any issue that i want to use dynamic links and want to rewrite them. I want to use single page for all the pages but different urls. | |
Hi! I want to know that how can i use buttons to update ( edit or delete) records from the php form directly into the database... Thanks | |
everything doesnt make sense. does anyone know of a very SIMPLE good script to make required fields. ive seen a lot but i dont know what they mean. most of them look like they do like nothing or not all the way. i dont want to use javascript because it … | |
hi, i am a novice and have recently started practicing some php tutorials. there is this bit of code that involves HTTP authentication which makes sense up until this part: [CODE] // connect to database $dbc = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); // grab the user entered log-in data $user_username = … | |
Hi, all I am using simplexml_load_file() function to get the rss and change it to the XML and get the elements. But i got the error information like below: [CODE=php]failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in [/CODE] My code is like this: [CODE=php] $zip = … | |
Hello, I am currently able to upload an image and the info is being inserted into the db correctly. I would like to add a gd function to add 3 image re-sizes into it. locations and sizes /prop_enlarged/ max 600px 400px /prop_listing/ max 405px 270px /prop_thumb/ max 135px 90px I … | |
Hi Everyone. I am new to this group and web designing. I am wondering if anyone could please tell me how to page_rewrite. I Web Host has set up my own reseller account and there are error and they told me I could fix it be rewriting the script and … | |
Hi,all Here is the sql sentence i wrote on my php file. But when i test with it nothing show up which there should have some results?? My idea is :get the sw and ne point, choose every value live inside the rectangle in my database [CODE=php]//zips is my table … | |
Hi, I am trying to implement the following ajax code: [CODE] function create() { obj_t = new XMLHttpRequest(); if(obj_t == null) { alert("Your broweser does not support it"); } } function data() { if(obj_t!=null) { if(obj_t.readyState == 4) { var dv = document.getElementById('tdetail'); dv.innerHTML = obj_t.responseText; } } } function … | |
Hi all, Im a still very new to PHP and don't know how to attempt the following: I'm trying to build a dynamic array in a form i'm utilizing. Also I am passing parameters from the url as follows: colour.php?val=3&co1=Red&co2=Blue&co3=Green //where val is the iteration number and co1,co2,co3 is the … | |
Hi, I have a page called func.php which has several amount of function only. How can i block someone accessing func.php via typing URL/..../func.php ? It should kick the person out from this page? I accecc func.php with calling particular functions stored in it. I was wondering if there is … | |
Hi This may not be a php matter but i'm wondering if it can be done? I have a table like the following: [CODE] <table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>7</td> <td>9</td> </tr> <tr> <td><<SUM OF THIS COLUMN (8)>></td> <td><<SUM OF THIS COLUMN(11)>></td> </tr> </table> [/CODE] I hope you understand … | |
Hi Guys I need some help. I am trying to modify a website which is based on template engines and I am not sure how to do the following. I have added a drop down box to the header.tmp and the form action posts the user selection (user_loc) to another … |
The End.