39,323 Topics
| |
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 … | |
I am confused........... I have made a project . No problem in localhost but whenever I try to execute in my domain server it shows : Warning: include_once(body/login/logIn.php) [function.include-once]: failed to open stream: No such file or directory in /mounted-storage/home36c/sub003/sc29343-BHKZ/progekt.com.utpal/helora/body.php on line 68 You can check : [url]http://utpal.progekt.com/helora[/url] I have … | |
I nedd some help regarding pagination. whenever i searched for a record, the pagination didnt work but it still show the results. here are my codes index.php [CODE] <html> <head> <title>Paginating Your Data with AJAX and Awesome PHP Pagination Class</title> <form action="index.php" method="post" name="searchdb" id="searchdb"> <table> <tr> <td><tr> <input type="text" … | |
hey guys,does anyone here know some tutorial on how to upload video files?tutorial in Adobe is quite confusing.Thanks.. | |
hi guys ,, i want all th and corresponding td value like Beds=>7 , Baths=>8 , House Size=>12000 sq ft [CODE] <table cellspacing="0" class='abc'> <tbody> <tr> <th>Beds</th> <td>7 bed </td> <th>Baths</th> <td>8.5 bath </td> </tr> <tr> <th>House Size</th> <td>12000 sq ft </td> <th>Lot Size</th> <td>2.62 Acres </td> </tr> <tr> <th>Price</th> … | |
I am populating a table with information from a database, one of the values is a rating 1, 2, 3, or 4. I made it so that depending on the value in the database the radio button with the corresponding value is selected. But I am having problems figuring out … |
The End.