39,325 Topics
| |
hi, i want to ask if anybody knows : i have a combobox where the values are obtained from MySql database. i want the user to choose one of those value to edit its field. for example if the user choose X from the combobox iwant all fields related to … | |
Using php mail function allows a user of a wesbite to send email without opening up ther mail client, information such as subject message reply-to email address can be included. With this could I also add fileds to send things such as booking time date, telephone number etc? Can this … | |
Hi all, I plan on desining a PHP driven site. I was wondering what people used in terms of a framework (or none at all). I've looked into ones such as Cake PHP but I'm just not sure whats out there and am looking for suggestions/comments. Any feedback/input would be … | |
I'm just starting out with PHP so I thought I'd do something simple. I modified an existing bit of code but it doesn't seem to work: [code] <?php $url = $_GET['DLURL']; // Fetch page $string = FetchPage($url); // Regex that extracts the urls from links $links_regex = '/<a[^/>]*'. 'href=["|']([^javascript:].*)["|']/Ui'; preg_match_all($links_regex, … | |
Hi all, Although I have experience in other areas of IT and development, I'm very new to programming, so please excuse my obvious ignorance... I need to allow the user to send an active form (entire filled in form with fields, not just the data) the user will access from … | |
Hello, i want to start free lancing in PHP, please suggest me some platform(marketplac) except w w w . R e n t a c o d e r . c o m | |
I am designing a website for someone at the moment and they want a preview of thier wordpress blog on thier home page(not blog home page) Is there a good way to do this automatically so that it updates itself whenever a new blog is posted or will it be … | |
I can make you one heck of an HTML, I can even put a beautiful contact form and picture uploader in the file, but when it comes to the challenge of adding the php script to make this file upload the file to my server I am not very good. … | |
Hi everyone, i have been struggling with passing multiple url parameters for quite some time and would be extremely grateful to receive some advice and guidance! What i ultimately would like to achieve is to pass two parameters in the url, one being the name of a table from a … | |
as we go inside a category the link shoul apear on the view page any one help.... i have done this much so far [code=php]<?php include("connectivity.php"); $parentid=$_REQUEST['parentid']; if(!$parentid) { $parentid=0; } $a=$_REQUEST['a']; if(!$a) { $a=0; } $qry=mysql_query("select * from category where iparentid='$parentid' limit $a,4"); $qrynum=mysql_query("select * from category where iparentid='$parentid'"); … | |
can anybody point me in the right diction where i can download packages with U.S.A. zip codes for every city and towns to every state and also includes the latitude and longitude of each town and city | |
I assuming it is unefficent to upload and stream a video with php. So this is a 2 part question (1. using php to upload the contents, 2. using php? flash? etc? to convert and play the video file). 1. How would I upload a video file? - Like a … | |
Hi, Im pulling out what little hair i have left, and am beginning to remember why i did not become a developer professionally. but you guys rock. I have a website i'm working on example: [url]http://www.example.com[/url], I have a go daddy turbo SSL certificate installed and it is working properly … | |
Well i have script that inserts text a user submits into a database. I want to add a section that lets other users view the text submitted but others in a sort of paged gallery. Im completely stumped on how to make paged content. For example, it goes into the … | |
I am having a problem with some of this code: [code=php]<?php $q = "SELECT * FROM entries"; $r = mysql_query($q); if(mysql_num_rows($r)>0): while($row = mysql_fetch_assoc($r)): $net_vote = $row['votes_up'] - $row['votes_down']; $row_id = $row['id']; ?> <div class='entry'> <span class='link'> <a href='<?php echo $row['link']; ?>'> <?php echo $row['title']; ?> </a> </span> <span class='votes_count' … | |
Hi, anyone know how to update status in myspace and linkedin via PHP API? Is that possible? | |
hi, [code] $array = array("amit", "hello", "amit", "world", "hello"); print_r(array_count_values($array)); [/code] out put Array ( [amit] => 2 [hello] => 2 [world] => 1 ) i want to find the index of amit i.e amit -> 0 and 2 hello -> 1 and 4 world -> 3 How to do … | |
| |
Hi, I need to display the countdown clock in my bidding site.The same countdown needs to be displayed when any user visits the site.Help?? Thanks in advance | |
Hi, I am having a parse error with the codes below but my eyes just cant seem to find anything wrong. Hope somebody out there can help me. [CODE]<html> <head> <title>Using mysql_num_rows()</title> </head> <body> <?php $user = ""; $pass = ""; $db = ""; $link = mysql_connect( "localhost", $user, $pass … | |
hello friendz.. jst a small query.. i made simple userinput form as userform.php.... after submit the form..values are passed to adduser.php for inserting to database... i have a serverside validation tht username cant be same...!! [code]if(username is laready exist) { [B]header('location:userform.php?error=1');[/B]//user send back to userinput form.. } else { [B]header('location:login.php');[/B]//user … | |
i have some data in an Array but i want only a particular part of it..!! how can i get it.. for Example... [code]Array ( [0] => status=1&messages=xxxxxxxxx&credit=23.4; ) [/code] i just want to get status = 1 how can i get it..?? help me out...!! :( | |
Hi i'm currently having problems with my code. When i submit the form with the CAPTCHA Code submited it sends the email, but when i dont enter the code it still submits the form. Can you tell me what i'm doing wrong. thanks [code]<?php session_start(); ?> <form action="contact.php" method="post"> <?php … | |
Thanks This is what i have [code=php]<?php function msort($array, $id="order") { echo($array); $temp_array = array(); while(count($array)>0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if (isset($item[$id]) && $array[$lowest_id][$id]) { if ($item[$id]<$array[$lowest_id][$id]) { $lowest_id = $index; } } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); … | |
I have a PHP script which checks and gets data from a MySQL database and then sends email. The emails received have one line of gibberish at the end: "...If you have received a renewal notice from the license/certificate issuer, please forward it to {snipped}. If you are due for … | |
I have been working on a site for a while now, and finally wanted to load it up to the server. I have been working on my own computer with xampplite. Everything was working just fine. When I uploaded it, after a few little things to resolve, I got most … | |
Hi all I'm learning OOP and I'm having a bit of trouble grasping the concepts. I'm trying to code a class that will connect to a database and have a function that will insert data into a table no matter how complex the insert is. For instance: Insert 1: INSERT … | |
Hi I trying to implement pagination using LIMIT in MySQL. My problem is it works good for the first 3 results only and for later results it shows error saying [COLOR="Red"]check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 3, 3' … | |
can we achieve 3-tier architecture with out frameworks in php? pls help. its interview question? | |
hello sir, i want one of the following, 1. i upload a excel file on server then i will display of its contents using php in various tables as requirement or 2 if i upload a excel file using php then after uploading excel files, mysql table automaticly update according … |
The End.