39,326 Topics
| |
hi need a hand here.. im having trouble in making my code work(well actually im not getting it)what i need to do is to compute the rate of vehicle that is rented..the only thing that i came up is with the **perday rate** and the other 2 i cant find … | |
hi i need to show the last post thumbnail only i had the code but im now looking for code to get image i need to place the image on the top <ul> <?php $recent = new WP_Query("cat=1&showposts=10"); while($recent->have_posts()) : $recent->the_post();?> <li><a href="<?php the_permalink() ?>" rel="bookmark"> <?php the_title(); ?> </a></li> … | |
guys am a newbee and starting to use oracle as a database for php i just want to ask on how to connect php to oracle then how to select a particular database is there an equivalent function for this in oci "mssql_select_db" | |
Hi, I'm sorry if this is answered already but I'm such a newbie at programming that I apperantly can't formulate my problem to find an answer! :-/ Here goes: I have a table filled with data. I want a user to be able to select via a dropdown list what … | |
can any body help me how to create a site with session on when the user login and without session when the guest visit the front page? please pass me the sample code.. | |
Hi Guys/Gals- ...not sure exactly how to approach this problem.... Basically, a user on our site will be presented with an option and they have a two-hour window to respond--a db record is tagged when the countdown starts. If they do respond, all is well. If they don't, a script … | |
Hi all, I am updating the position og pages, which I get dynimacally from the DB. It is d possible via the backend, for the admin of the site, to decide which position a page should have, when updating or creating a new page for the site. I let the … | |
consider code below: //Consider the php part(process.php) <table border="1"> <thead> <tr> <th>Name</th> <th>Language</th> </tr> </thead> <tbody> <?php foreach($_POST['names'] as $k=>$v){ ?> <tr> <td><?php echo $v; ?></td> <td><?php echo $_POST['languages'][$k]; ?></td> </tr> <?php } ?> </tbody> </table> //html part**``** <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <script type="text/javascript" … | |
` How to integrate cakephp with wordpress.??? ` | |
Hi Everyone, I am developing a site that is database driven and so uses mod rewrite to deal with page name without extension ie .php. I want to pass two variables via a link, so have set it up to be domainname.com/pagename?var1=val&var2=val The page loads but when I try and … | |
Getting the following error while running the website script Parse error: parse error, expecting `';'' in F:\xampp 1.7.1\xampp\htdocs\engine\includes\functions.php on line 23 Please help to solve this. Here is the coding of functions.php from line 1 till end function paging( $frontUrl, $backUrl, $currentPage, $rowsPerPage, $allRows ) { global $langArray; if ( … | |
Hi Sir, I am trying to collect some data from a php site. However this particular php page has transformed $POST data(to a special timestamp data that I can't replicate) with its own function(setReport() in below code) and sent to its server. So in order to get this data, enter … | |
Hi there, I have a Country/City list in my SQL database and access it with PHP using a select element in php. I use the Chosen Jquery Plugin for the styling of these select elements. Now my problem is that i want only the cities of the country selected to … | |
Hi, I'm facing a problem which is can't total up all the subtotal amount. Everytime I add a new product to cart, the total only show the last product that I added into cart. Not only that, when I update the quantity of other product, the total still remain the … | |
Hay everybody, I have this Form I am trying to upload my image but every time I do "update" the page return normal and nothing uploded to my folder "ProfilesImages" where is my fault. if(isset($_POST['update'])){ $ProfileImage = $_FILES['ProfileImage']['name']; $Fname = clean_text($_POST['Fname']); $Lname = clean_text($_POST['Lname']); $Uemail = $_POST['Remail']; $Uwebsite = $_POST['website']; … | |
I want to create a grey login bar at the top of my page but I don't know how to make one please could someone help. The code that I want in the login bar is <table> <tr><td> <?php if($session->logged_in){ echo "Welcome <b>$session->username</b>, you are logged in. <br><br>" ."[<a href=\"userinfo.php?user=$session->username\">My … | |
Hi, I am designing a site something like http://buildabazaar.com and i do not know how user selection of themes to design. When user logs in and trying to build a store he will select a theme out of 5, i don't know how to do it. Anybody knows how to … | |
I would like to create a custom algorithm for encrypting and decrypting strings of data. I want the algorithm to allow two parameters: 1. Custom salt string for the algorithm to use to create custom encrypted strings of the data. 2. The data to be encrypted / decrypted. I don't … | |
` Error: NotesController could not be found. Error: Create the class NotesController below in file: app\Controller\NotesController.php <?php class NotesController extends AppController { } Notice: If you want to customize this error message, create app\View\Errors\missing_controller.ctp ` | |
hello,.. i have problem with my script, my goals to display image from my query result. i created picture database contain id, name & link (data contain link to picture folder localhost/nseries/A2-1C1-1B.png) on my query display i created dynamic link to picture but when i click the link nothing show … | |
Hi, I'm facing a problem which is can't total up all the subtotal amount. Everytime I add a new product to cart, the total only show the last product that I added into cart. Not only that, when I update the quantity of other product, the total still remain the … | |
table user->user_id, username, etc image->image_id, user_id, image, etc i am making a delete image page where user can del there image. i want to some how test image is the user who is loged in. 1st check user is loged in if(isset($_SESSION['username'])) 2nd check user hit sumbit button if($_SERVER['REQUEST_METHOD'] == … | |
I have been looking over current frameworks available and I am looking to settle on CodeIgnitor. What framework and IDE do you use? What are the plus sides, limitations of your choice? | |
The shopping cart shows all the product, but when I change the quantity and click update, the error will pop out and display the following error and the quantity still remain and no any changes: ( ! ) Notice: Undefined index: qty in C:\wamp\www\cart.php on line 46 Call Stack # … | |
Ok, I am having a 'WTF' moment, I cannot see what is going wrong and it is really beginning to bug me. I am attempting to send a user to an error page if the username or password is incorrect but it keeps redirecting to a page which doesn't exist … | |
Good Morning All, Hopefully someone can give me a clue as to how to accomplish something... The situation is this: The owner of a website I designed is traveling doing event presentations. She is enlisting the help from current members in each city to help enroll New members through a … | |
Hello, I am trying to create dynamic dropdown lists with PHP MySQL and AJAX. When a user selects a category from the first dropdown, the subcategory dropdown should populate with all the sub categories that belong to the selected category. I am using Fuel CMS as my framework. In my … | |
Hi, I am attempting to change a small piece of code in a forum I run but cannot figure out how to actually return the string of an item contained in an array instead of getting the items position in the array. Sorry if this does not seem to be … | |
Hi, I need some help on this.i made a simple upload video but the problem is i cannot display the video that i uploaded.I have no idea on this on how to display the video that I uploaded and play on it....million thanks in advance. | |
I want to create a project where there's a Stock Exchange ticker (you know the thing with green arrow up and red arrow down sliding from right to left). I was wondering if there's an open-source script where it takes data from a MYSQL select statement or simple logic to … |
The End.