39,326 Topics
| |
How can i select a data (any location) from Google map and also i want to store that data in database in order to list that contents in another page... Please provide me the idea,explanation and code.. Thanks | |
Does anyone know if there's a function in php that will allow me to convert a string into an image? | |
I don't what is wrong but there's an error [B]Error: Incorrect date value: '' for column 'DateBirth' at row 1[/B] I searched for answers but there seems nothing wrong with my code. I used date as datatype for date of birth. my php script. [CODE] <?php $m = $_POST["month"]; $d … | |
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampplite\htdocs\online\test2.php on line 27 | |
Good Afternoon, I'm almost done, but something is wrong. I have 19k records that I need to sort through in an array, but I can't figure out how to get the in between records. This works just fine: [CODE]$filterData = array( 'product_id' => array('lteq' => 6000) ); [/CODE] This doesn't: … | |
Hi Frendz, I have datetime field in database. now i want to filter out the record which are in today date using mysql query? | |
Hello, i want to paint somthing its meen that replace <?php $var = "hello"; ?> to somthing like: <?php [COLOR="red"]$var[/COLOR] = [COLOR="Green"]"hello"[/COLOR]; ?> i dont want to use hightlight_string i need other function thanks | |
"! > = " wrong not more the same as? ex: 4 not more the same as 9 thx's | |
Hello Everyone, I'm trying to change the page content based on which link is pressed. Can someone tell em hwy my code doesn't work, please? Last error I got was a parse error on line 43. Thanks [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta … | |
Hi there, I need some help with this error/warning Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource here is the code: [CODE=php] include "connect.php"; include "comment.class.php"; $result = mysql_query("select * from comments order by id"); $comments = array(); while($row = mysql_fetch_assoc($result)) { $comments[] = new Comment($row); } … | |
hi all , I was developing a blog where in admin control panel i can view the new comments. i want to set the approval to view the comments in the blog. problem is I used radio buttons to set permision but it did n't work properly. I need to … | |
Hello! I've got a script that runs for most of the day in a screen on my centOS linux box, however I'd like a way to be able to stop and start this with a button within my panel (php). I've read about shell exec however I've not been able … | |
Hi all, First i am sorry if this already asked somewhere before,i've searched it but didn't found any and i am a total beginner how to make a page visible for only some current time? let me say to complete a survey in given time in the admin page there … | |
I creat this form which contain dynamic table: [CODE]<form action="<?php echo $editFormAction;?>" method="post" name="form1"> <table cellspacing="0"> <tr> <th>#</th> <th>ORDER DESC</th> <th>ORDERING DEPT</th> <th>ORDERING SERVICE</th> <th>STATUS</th> <th>SENDING DATE</th> <th>DELIVERING NO</th> <th>DELIVERING DATE</th> <th>COMMENT</th> </tr> <?php do { ?> <tr> <td><?php echo $row_medi['order_no']; ?></td> <td><?php echo $row_medi['ORDER_DESC']; ?></td> <td><?php echo $row_medi['ORDERING_DEPT']; ?></td> … | |
I am starting out with PHP and in my project I'm trying to fetch XML data from a url and parsing it for data. Now the url that I use is being fetched from a webpage and hence I know that it is correct and it exists. Still, when I … | |
php code for calculating fines for overdue books your help will be much appreciated.. tnx | |
[CODE]$query = "SELECT * FROM image_share WHERE to='$username'"; $result = mysql_query($query); while($row = mysql_fetch_assoc($result)) { echo '<tr> <td width="100%" align="left" valign="top"> <div style="border-bottom:1px solid #6F6F6F;"><span style="color:#C0B184;"><a href=""><img src="'.$row['image_sharelink'].'" width="150" height="137"/></a></span><br/> <br/> </td> </tr>'; } [/CODE] cant figure out why it wont work. I got my error display on E_ALL mysql_fetch_assoc(): … | |
Hi all, I have a Website developed by PHP4.3.2 and Microsoft Access2000 Database. The Site is running under IIS5 in Windows Server2000. Now I have changed the OS from Windows Server2000 to Server2008 and IIS is 7.5 here. I have configured PHP with FastCGI. But, When I run my site … | |
Dear Friends, Am developing a sms based website. i bought the gsm modem. problem how to connect the com port through php and querying the gsm modem with AT Commands ?? Please help me out [COLOR="Red"]Modem:- Visontek 82GH USB MODEM It supports at commands. [/COLOR] Note:- Am sending sms and … | |
| Im confused on how to get pgpMyAdmin I went to the website and downloaded the phpMyAdmin-3.4.3.2-all-languages.7z I opened it and all I see is a bunch of files now what? |
guys i need some help!.. my friends are having their project on web developing?? How can i create a Login System with this database?? [B]tbl_stud[/B] st_uname = logmein st_pw = 123 type_id = student [B]tbl_prof[/B] pr_uname = pro pr_pw = 321 type_id = prof [B]tbl_admin[/B] ad_uname = adm ad_pw = … | |
Am getting: Parse error: syntax error, unexpected T_DNUMBER $post_xml = "<?xml version="1.0" encoding="utf-8"?><PesapalDirectOrderInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Amount="".$order_total."" Description="".$transaction_details."" Code="".$code."" Type="".$type."" PaymentMethod="".$payment_method."" Reference="".$reference."" FirstName="".$first_name."" LastName="".$last_name."" Email="".$email."" PhoneNumber="".$phonenumber."" UserName="".$username."" xmlns="http://www.pesapal.com" />"; $post_xml = htmlentities($post_xml); If I use single quotes the error dissappears but it does not function the way i would like it … | |
Please suggest me for live video streaming as i am trying create a website in which I can update the video live for religious perpose | |
I have attached the screenshot of my output. I guess, the syntax is wrong. Please help.! [CODE]<?php //initilaize the mysql user name and password //Database Config $dbHost='localhost'; //Database server $dbName='db'; // Name of the database $dbUser='root'; // Database username $dbPass=''; // Database password $source = mysql_connect($dbHost, $dbUser, $dbPass); if (!$source) … | |
Hello Everyone, I am Karan Patel from India.I am presently a Computer Engineering student.I am in my 5th semester. I want to develop an application in PHP.So will you please guide my all the required knowledge to do that? I have knowledge of HTML,CSS,Javascript and Joomla CMS. So what should … | |
I need my code to continue after a return statement. Any way to fix this? | |
Hi All.... how to search by price range [CODE] ---------------------------------------- id price | range_type | min | max ---------------------------------------- 1 | A1 | 1 | 100 2 | A2 | 101 | 200 ---------------------------------------- 3 | B1 | 151 | 250 4 | B2 | 251 | 400 ----------------------------------------- [/CODE] … | |
guys i need some help!.. my friends are having their project on web developing?? How can i create a Login System with this database?? [B]tbl_stud[/B] st_uname = logmein st_pw = 123 type_id = student [B]tbl_prof[/B] pr_uname = pro pr_pw = 321 type_id = prof tbl_admin ad_uname = adm ad_pw = … | |
Hi everyone, First time i am going to work on the search.please help me how i make search in my site,the website is about the products,i want the user search for the products by city name, [B][U]Requirements [/U][/B] The simple search give result of the products in the selected city,the … |
The End.