39,320 Topics
| |
Hey all. First time poster here. This looks like a great community! I'm getting a "Parse error: syntax error, unexpected T_STRING" error. I'm just starting to get into PHP and can't for the life of me see where the problem is. This is part of the NextGen Gallery plugin for … | |
I'm using a script called Ajax Upload to upload files. I have a div that has a php script inside so that when the page loads I can see the listing of all the files. My problem is that I want to update this list of files without having to … | |
Hi there, i have a problem with this updater script which means that when i click update, change the record, and press submit-it says record changed or something like that, but does not actually do anything! Here is the code, it is supposed to be three files- list_file.php, update.php, update_ac.php, … | |
Hi, I need a little help. This might be something simple but hard for me. I am trying to list all the name of the product which is $description and the $quantity neatly by using a table. My problem is that it is only showing one product information instead of … | |
Guys can you give me idea for a thesis , it should be web based programming language that I know- PHP,MYSQL,AJAX,FLASH Im not in a group so its individual, so I need help:( ..thanks | |
Here's what i know.. Server side languages: php (open source) asp (ms) asp.net (ms) what i do not know is.. Ruby ?? Ajax ?? JSP ?? Dhtml?? And the title: Rss, web services and SOAP (what soap u mean washing soap ???) And which language is used to create a … | |
Hi everyone !! I want to code a php email sending and receiving program just like gmail or yahoo. i don't have any idea of php network programming. Could anybody please help me how should i proceed or from where i can get hellp on this? Waiting for your replies. … | |
[ICODE]<?php class ShopProduct { public $title; public $content; function __construct($title,$content) { $this->title = $title; $this->title = $content; } function getProducer() { return $this->title; } function getContent() { return $this->content; } function foo() { echo "hello!";return 1; } // end class shop product } $product1 = new ShopProduct('Product 1','somegirls'); $product2 = … | |
Hello friends.. I want to destroy the session when user click on Back button or browser... is it part of Javascript or Php..? i think its just a small Query..!! Thank u..!! :) | |
Hi all! Im trying to creat thecode for save a value into a variable ($sales_code) formed per 2 letters (VW, DF, RK or DI) depending on this algorithm: 79% of the time it's VW, 7% of the time it's DF, 7% of the time it's RK, 7% of the time … | |
Hello everyone, I'm trying to test PHP of WAMP on a vista machine but every time I attempt to launch a page in IE, the browser asks if I want to download the PHP page. Here is the code I've used: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … | |
hi all, I am wondering if someone could give me a quick hand with some php im trying to edit in Wordpress. Heres the original peice I am trying to edit: [CODE] <div class='dateauthor'> <small class='capsule'><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small> </div>[/CODE] What I want to … | |
I am having organization set up with my table. I am trying to code for a report to have the Purchase Date and Shipped Status information added/display onto my report but I continue getting errors such as the value is not showing up and my information look out of place. … | |
hi all, Im doing in-house project ... Im creating form which has a drop down box for gender.... and also a document which contains "he/she" type... when i select the male option in that dropdown box the doc which contains "he/she" should autopopulate to its corresponding gender and generate it … | |
HI I have a issue I have a text box, and I need some how, that every time the user press the enter key, to make a space in the text that he types, a <br> tag is inserted at the end of the text, so when I call it … | |
hi all, I am wondering if someone could give me a quick hand with some php im trying to edit in Wordpress. Heres the original peice I am trying to edit: [CODE] <div class='dateauthor'> <small class='capsule'><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small> </div>[/CODE] What I want to … | |
hello there, need urgent help in ffmpeg, shows no error. but not working for me :( i tried out so many examples, after that i found below code - ffmpeg and other paths are also fine. our hosting is from - [url]www.hostupon.com[/url] [code=php]<?php define('PHPVIDEOTOOLKIT_EXAMPLE_ABSOLUTE_BATH', dirname(__FILE__).DIRECTORY_SEPARATOR); // Set our source file … | |
Hi everyone, i would like to know whether the result of a mysql query executed from one php page will be available to another php page on the same site. thanks! | |
Hello All ... Bit information from your side. Which PHP version will support on Mac OSX ?. I am using Mac OS 10.5.7. If so, what are requirements for designing an application ? Like (web server , database server , etc ...). With Best Regards, Bhanu. | |
Hi frnds... here i am phasing a small problem...after successful completion of all my queries ,it is not redirecting to back page..plz check this one.... [B][U] Need Logic[/U][/B] At the bottom of this code i execute 9 sql queries..all are in same manner..If there is any logic in this plz … | |
Hello evryone! i am very new to PHP! I study it with ebook: PHP & MySQL For Dummies , 3rd Edition! Once i try and have copy the whole code from the book like this(write in notepad) _______________________ [code=php]<html> <head> <title>PHP Test</title> </head> <body> <p>This is an HTML line <p> … | |
How we can use current time instead of '15:33:56' [ICODE]now()[/ICODE] Function or [ICODE]time()[/ICODE] but it gives wrong time in AM and PM. [CODE=php]<?php function twentyfourToTwelve($time) { return date('g:i:sa', strtotime($time)); } /*** Example usage ***/ echo twentyfourToTwelve('15:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; echo twentyfourToTwelve('15.12').'<br />'; echo twentyfourToTwelve('2:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; ?>[/CODE] | |
Hi..is this a correct SQL statement to display details of a record from table and column that is variable [code=PHP]$query= (SELECT * FROM $_GET['$tablename'] . "' WHERE id = '" . $_GET[' $row2[$cols'] . "' ;[/code] the id and table were passes correctly on the URL but the error is … | |
I need to get the source code of webpage which is embeded with AJAX i.e. The web page is designed using PHP but the contents frame is designed using AJAX and the PHP pages is made to embed with this content page so we cant able to get the HTML … | |
Hi frnds... Here i am going to display albums in a table...But, all albums is display in only one row.Its looking not good in my page...So,i want to display in 2 or 3 rows..plz change this code as my requirement.. .[CODE] <table width="142" height="188" border="0" align="center"> <tr align="center"> <?php $gquery="SELECT … | |
Passsword Strength Checker [CODE=php]<?php function testPassword($password) { if ( strlen( $password ) == 0 ) { return 1; } $strength = 0; /*** get the length of the password ***/ $length = strlen($password); /*** check if password is not all lower case ***/ if(strtolower($password) != $password) { $strength += 1; … | |
I would like to make a button that will save the current webpage you are viewing like clicking FILE>SAVE AS in IE, FF, etc. Once clicked you can "precode" the default name of the file based on the variables used in the webpage. Also I if possible I would like … | |
hey all i need some help in redirecting my page. following is my code. here is the scenario: when the user enters the admin panel from another website set up on a different host/server (a cms actually) the user is redirected to this page and the data from the main … | |
I'm having issues as well; I have a database jokes with a couple rows already and am trying to insert another row (the ID is auto incrementing). This is what I have, as you can see I'm trying to insert a value from a form. Here's the form [code] <FORM … |
The End.