39,320 Topics

Member Avatar for
Member Avatar for cinemaduro

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 …

Member Avatar for cinemaduro
0
154
Member Avatar for Magicianer

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 …

Member Avatar for Magicianer
0
206
Member Avatar for thecodingbee

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

Member Avatar for thecodingbee
0
93
Member Avatar for vanessia_1999

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 …

Member Avatar for nish123
0
104
Member Avatar for ace_dman

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

Member Avatar for Menster
0
58
Member Avatar for rockyman12

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 …

Member Avatar for diafol
0
147
Member Avatar for varun_1411
Member Avatar for itsrahulk

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

Member Avatar for Bojero
0
71
Member Avatar for adamramadhan

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

Member Avatar for emarshah
0
85
Member Avatar for nish123

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..!! :)

Member Avatar for emarshah
0
100
Member Avatar for coleguitajuan

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 …

Member Avatar for Menster
0
108
Member Avatar for kssi89

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

Member Avatar for emarshah
0
168
Member Avatar for cjay175

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 …

Member Avatar for Wickedself
0
124
Member Avatar for vanessia_1999

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

Member Avatar for kireol
0
131
Member Avatar for sugumarclick

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 …

Member Avatar for kireol
0
127
Member Avatar for elamigosam

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 …

Member Avatar for elamigosam
0
157
Member Avatar for cjay175

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 …

Member Avatar for cjay175
0
225
Member Avatar for gptArun

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 …

Member Avatar for gptArun
0
173
Member Avatar for o12357

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!

Member Avatar for o12357
0
65
Member Avatar for bhanu1225

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.

Member Avatar for chrishea
0
86
Member Avatar for sarithak

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 …

Member Avatar for somedude3488
0
401
Member Avatar for sereYboth

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

Member Avatar for ayesha789
0
120
Member Avatar for ayesha789

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]

Member Avatar for ayesha789
0
2K
Member Avatar for tulipputih

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 …

Member Avatar for cwarn23
0
96
Member Avatar for cee_karthi

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 …

Member Avatar for Fest3er
0
79
Member Avatar for sarithak

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 …

Member Avatar for sarithak
0
113
Member Avatar for ayesha789

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

Member Avatar for ayesha789
0
249
Member Avatar for OmniX

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 …

Member Avatar for digital-ether
0
507
Member Avatar for mustafaneguib

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 …

Member Avatar for digital-ether
0
165
Member Avatar for uesuva

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 …

Member Avatar for uesuva
0
90

The End.