39,402 Topics

Member Avatar for
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
134
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
142
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
282
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
195
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
93
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
113
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
429
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
99
Member Avatar for ehpratah

hi anybody can help me analyze this code..im not getting the correct output.. if(($origin=="NAIA 1" && $vehicle=="Small Car" && $zone=="Paranaque 2") && ($destination=="BACLARAN" || $destination=="SAN DIONISIO" || $destination=="BICUTAN INTERCHANGE" || $destination=="MULTINATIONAL VILLAGE" || $destination=="MOONWALK" || $destination=="SM SUCAT" || $destination=="DON BOSCO" || $destination=="SUN VALLEY" || $destination=="BETTER LIVING" || $destination=="MERVILLE" || $destination=="MARCELO …

Member Avatar for cereal
0
168
Member Avatar for vijayram

Hi,everybody, i created fileuploader,fileupload display one image.select another image first one is disapper.i want to same time user select more than 10 images display all the images one by one. anybody, plz help me. This is my code. public function executeUpload(sfWebRequest $request) { $fileName = $request->getParameter('qqfile'); $newpath = $this->_uploadProgress($fileName,'uploads'); $obj …

Member Avatar for pritaeas
0
145
Member Avatar for awslc

Hi everybody, Wondering if you could give me some help with an error I have with NuSoap and my C# .NET project. I am trying to return an array of arrays from my PHP NuSoap Web Service to my .NET application. My PHP Code: $server->wsdl->addComplexType( 'GraphData', 'complexType', 'struct', 'all', '', …

Member Avatar for pritaeas
0
173
Member Avatar for HasNor

Dear experties, I have a problem with windows back key. It's still able to click when session expired and go to previous page. How can I disable that key?? Means user cannot go to the previous page? Anybody can help me? Here my session expired script :- <?php session_start(); $timeout …

Member Avatar for vibhaJ
0
97
Member Avatar for lilfairy

Hi I am new to php and been following various youtube tutorials and boought a few books, I am now however clueless with my latest error and really need some help. This is my error **Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\lilfairy\admin\library\config.php on line 17** Please have a look …

Member Avatar for karthik_ppts
0
2K
Member Avatar for danielsikes

Hi, I have a simple project that I would like help with. I think the open-source community would love to have something like this. The popular search/spider program "Sphider" is great software. I would like to give it a face lift and create something that I call "Spitter". It is …

Member Avatar for danielsikes
0
108
Member Avatar for HasNor

Dear experties, I'm facing the problem which is system not catch data enter by user. It's happen sometimes. Means my system is not stable. So how can I solve this problem even user access thru IE8 or IE 9 and so on. Is it caused by IE version or what?

Member Avatar for HasNor
0
235
Member Avatar for BadManSam

How do you edit from php like I have a form and from another php file I can edit that form but just like click it and type something like name : (then login text box) and save it. I want that for register and login .

Member Avatar for diafol
0
128
Member Avatar for Szabi Zsoldos

Hi guys, I've made a class with a lot of functions, and for the 99% of the time i need the __construct functi. How can i call the class without the __construct ? class Test { public function __construct() { echo "bla"; } } $test = new Test(); What I …

Member Avatar for Szabi Zsoldos
0
142
Member Avatar for aneeqtariq_143

Hi everyone, i am building book store, i am thinking about to create a single page who fetch a record from MYSQL on the basis of Book_ID instead of create each product detail page. when some click on detail button it passes book_id to another page where i write a …

Member Avatar for aneeqtariq_143
0
153
Member Avatar for meriyas

Hi, I would know how can I validate the following php form fields Need for my student project. Please help me Fields requied are **Mobile Number**: `(10 digits number field)` **Gender **:` (Radio button or drop down box)` **Email **: `(valid email field)` **Date of Birth:**`( YYYY/MM/DD)` Please help me..Urgent.. …

Member Avatar for heavyman
0
317
Member Avatar for HiWorld

Hi, I am trying to make my search results table sortable. The content is obviously dynamic, so how would I do this? *Tablesorter.js does not work…* I am using CodeIgniter... Any help would be fantastic! Thanks

Member Avatar for HiWorld
0
177
Member Avatar for leoblanc

Hi all, Need help from all of you... I am still a newbie, and wanna ask code to display mysql data based on username login. I try many time to change on this code : $result=mysql_query('SELECT tb_hitung.Keterangan, tb_hitung.Debit, tb_hitung.Kredit FROM tb_hitung INNER JOIN tb_bulan ON tb_hitung.id_bulan=tb_bulan.id_bulan ORDER BY tb_hitung.id_hitung'); but …

Member Avatar for SummerNight
0
103
Member Avatar for sway1101

Hey all, I have created a mail script in PHP for a contact form on my website. I have a message that displays when the message has been sent. I would like this message to display below my form but am having some trouble with this. The message is currently …

Member Avatar for cereal
0
209
Member Avatar for cse.avinash

I am a newbie to php and learning now, can you please help me telling how can I take inputs from users in pHp instead of using forms (i.e., a replacement of scanf() in php. I am solving a question to take number as a input and print that number …

Member Avatar for cse.avinash
0
230
Member Avatar for karthik_ppts
Member Avatar for diafol
0
120
Member Avatar for dualzNZ

Hi all i am creating a web application and i would like to generate a md5 checksum on an uploaded file while uploading can i just add md5($file); or is there another way to add a checksum thanks

Member Avatar for veedeoo
0
66
Member Avatar for cjohnweb

So I am trying to do a neat little script in a wordpress plugin that replaces matching keywords with links to other articles on the site. I think I'm done all except one little thing down here below. I need to fix the preg replace function. It should match anything …

Member Avatar for cjohnweb
0
407
Member Avatar for hwoarang69

i am storeing image in database type long blob. //STORE IMAGE IN $IMAGE $image = chunk_split(base64_encode(file_get_contents($_FILES['fileupload']['tmp_name']))); //store image name in $image_full_name(.jpeg) $image_full_name = $_FILES['fileupload']['name']; //store image size in $image_size than conver to 100x100 $image_width_height = getimagesize($_FILES['fileupload']['tmp_name']); $image_resolution = $image_width_height[0] . "X" . $image_width_height[1]; //size of image 100x100 //get size in …

Member Avatar for veedeoo
0
264
Member Avatar for BadManSam

Hi , I edited my webpage and this occured **Parse error: syntax error, unexpected $end in /home/techgeek/public_html/FrF/test.php on line 59** I have checked all the tags and they are closed and here is the code. <?php include("include/session.php"); global $database; $config = $database->getConfigs(); ?> <html> <head> <title><?php echo $config['SITE_NAME']; ?> - …

Member Avatar for diafol
0
197
Member Avatar for tim_ver

I have an issue when I add "" around text in the statement below. With out it works fine but when I add it the whole page is blank. Can someone please help me out on this one. I need to have the quotes in the verbiage. **This works:** $lang["t_tech_v26_content"]="We …

Member Avatar for tim_ver
0
212
Member Avatar for mangel.murti

hi i am working on a mobile verification code wher user can enter his email and his mobile number.then code has to be send to his mobile number,by that code user can login to site. how to achive this target. thanx in advance.......

Member Avatar for jewel205
0
203
Member Avatar for garyrichard

I want to load three list boxes where 2nd list box is loaded on the basis of selection of 1st list box and 3rd list box is loaded on the basis of selection of 2nd list box.. .

Member Avatar for veedeoo
0
576
Member Avatar for rfrapp

Hello, I am trying to upload music files to a database for use on my website. However, the file doesn't seem to actually be going into the folder. I get the name of the file in phpmyadmin, but I don't see the file anywhere. Here's my script (I do have …

Member Avatar for veedeoo
0
732
Member Avatar for SummerNight

Hi, I have a file called reports.php which has several php and database functions. Upon viewing it in a browser it displays a nicely formatted report. Is there a way I can save the HTML(only) output from this reports.php into a **new file** (probably html) in a web server ? …

Member Avatar for veedeoo
0
2K
Member Avatar for designalex

guy plz help me out with this. If i have a table, in the table is a column called veh_status, the row data will be varchar storing one or many comma seperated numbers so veh_status could be 1,2,3 each number represents an id to the relevant vehicle statuts name and …

Member Avatar for rch1231
0
210
Member Avatar for wonderland

Hi, I don't know much about php, since I didn't need it. Now though I need to make one small change in .php file - change some text that gets displayed. This text is in UTF-8 Format with letters like ā š ķ , etc I've changed text inside of …

Member Avatar for motke
0
287
Member Avatar for veledrom

Hi, I've written my own pagination but one last bit left and need help. I have the array wbelow: Array ( [First] => First [<] => < [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 [7] => 7 [8] => …

Member Avatar for veledrom
0
154
Member Avatar for johndohmen1963

i have the folowing code that gives me the first letter of each word. $string = $rowec['doopnamen']; $punt ="."; $words = explode(" ", $string); $doopnamen = " "; foreach ($words as $value) { $doopnamen .= substr($value, 0, 1); } But how can i get a dot after each letter ? …

Member Avatar for johndohmen1963
0
775
Member Avatar for devindamenuka

Hi all, I just started joomla module writing (1.5 version). I have some knoweledge about this module writing now. problem is I want to select country name from a one module and load country flag in another module.which second module is in another region(or div). I know only to handle …

Member Avatar for devindamenuka
0
167
Member Avatar for hwoarang69

so i have a page where where is a link <a href=\"editimage.php?img=".$image_id."\">asdf</a> an another page i have to get the image_id that i am passing $image_id_g = isset($_GET['img']) ? $_GET['img'] : 0; echo"$image_id_g"; but the problem is that it prints 0 here. but i wan tto print image_id

Member Avatar for hwoarang69
0
238
Member Avatar for dany12

I want to create an email class with many functions and use this methods I want some advice how to make this flexible and reliable as much as I can but another important feature is security to verify all the external input I am going to past all my code …

Member Avatar for dany12
1
129
Member Avatar for ben.matthews18

Hi, I have an unordered list in a file called elements. is there any way of putting the unordered list into a variable so that i can use include to place it on my homepage? help would be appreciated thanks

Member Avatar for diafol
0
129
Member Avatar for Coyx

Hi all, I'm having difficulty with a function I've written. What it does, is creates a standardised list of Options Value's in a Selector for HTML. The value of the MySQL query is then used as the value, but for some reason, I'm getting an error in the code. If …

Member Avatar for Coyx
1
264
Member Avatar for anu013

Hey Guys, I m new here. I need a help I am working with a s/w where I need to fetch data from database onchange event. actually scene is the user will select one option (ie. name of company) from the dropdown box. According to that value the s/w should …

Member Avatar for anu013
0
7K
Member Avatar for danielbala

Hi, I have some issues like 1.for free classified ads website what CMSs or Ecommerce softwares or we can do just code in php without using any of these? 2.Same for social networking and job portal websites too?? 3.If we use just php coding for free classified ads website how …

Member Avatar for technolabinc
0
136
Member Avatar for jacob21

Hi, I am using below linked converter to convert kruti hindi font in to unicode font. But i am not exactly getting same data(in unicode) as in my document(in kruti font). [Click Here](null) http://svnnews.in/convertor.htm Below is attached document of kruti font which i want to convert & above link is …

Member Avatar for cereal
0
84
Member Avatar for danielsikes

Hi, I have a database table structure that works as follows: search_id: (auto int) group_id: (unique to group) field_name: field_value: so some entries in my db would look like this: search_id group_id field_name field_value 1 123456 fname John 2 123456 lname Doe 3 123456 email jdoe@abc.com 4 789012 fname Jane …

Member Avatar for rotten69
0
227
Member Avatar for cgull

Hello, I never used cron jobs before and now I have this scenario: I have a table with a Boolean column called: new. I need to check this table every day, and if the record was created 30 days ago, I need to update the column to False. Do I …

Member Avatar for cgull
0
368
Member Avatar for prolaysarkar

I am trying to return the values of checkbox if the checkbox is checked before form submission it should remain checked after the post method. The checkbox works fine and gets updated in database i only need to retain checkbox values.....Thanks for help in advance <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML …

Member Avatar for Zagga
0
396

The End.