39,326 Topics

Member Avatar for
Member Avatar for ehpratah

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 …

Member Avatar for ehpratah
0
131
Member Avatar for kingofnothing

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> …

Member Avatar for kingofnothing
0
148
Member Avatar for code739

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"

Member Avatar for code739
0
123
Member Avatar for adishardis

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 …

Member Avatar for adishardis
0
218
Member Avatar for vijukumar

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..

Member Avatar for Biiim
0
4K
Member Avatar for Midgard

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 …

Member Avatar for cereal
0
144
Member Avatar for klemme

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 …

Member Avatar for diafol
0
168
Member Avatar for mogaka

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" …

Member Avatar for Squidge
0
102
Member Avatar for scobi
Member Avatar for shuka79

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 …

0
75
Member Avatar for skat123

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 ( …

0
100
Member Avatar for Rob2012

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 …

Member Avatar for Rob2012
0
1K
Member Avatar for Aleroth

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 …

0
133
Member Avatar for devianleong

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 …

Member Avatar for Szabi Zsoldos
0
206
Member Avatar for johnef_sh

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']; …

Member Avatar for blocblue
0
99
Member Avatar for BadManSam

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 …

Member Avatar for code739
0
151
Member Avatar for my3h

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 …

Member Avatar for code739
0
69
Member Avatar for Subless

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 …

Member Avatar for diafol
0
285
Member Avatar for scobi

` 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 `

Member Avatar for diafol
0
94
Member Avatar for sigit_p

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 …

Member Avatar for sigit_p
0
212
Member Avatar for devianleong

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 …

Member Avatar for devianleong
0
1K
Member Avatar for hwoarang69

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'] == …

Member Avatar for hwoarang69
0
130
Member Avatar for Squidge

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?

Member Avatar for Squidge
2
137
Member Avatar for devianleong

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 # …

Member Avatar for devianleong
0
1K
Member Avatar for Octet

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 …

Member Avatar for Octet
0
280
Member Avatar for showman13

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 …

Member Avatar for diafol
0
191
Member Avatar for cgull

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 …

0
90
Member Avatar for Cap'nKirk

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 …

Member Avatar for Cap'nKirk
0
109
Member Avatar for jemz

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.

Member Avatar for jemz
0
399
Member Avatar for Crow77

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 …

Member Avatar for Crow77
0
97

The End.