39,326 Topics

Member Avatar for
Member Avatar for gr8pathik

Dear can any body tell me how to configure cakephp with wamp?? i m new in cakePHP. I have already copied cakephp folders/files in wamp's www folder and DocumetRoot "C:\wamp\www\cakephp\app\webroot" Tell me what else have to do.? I am getting a page when clicking on localhost from Wamp but it …

0
87
Member Avatar for Krishna_Php

I want to be a web developer .how can i learn perfect jquery? Is here any way to learn complete jquery Online?

Member Avatar for diafol
0
150
Member Avatar for violaceous

Hi everyone, I'm trying to tweak some PHP code on my own without the programmer's help... actually it's just an addition that I want. Basically, I'm trying to enter object_id... into a classes_entered table which has class_id & object_id. There is also a classes table with class_id and show_id. I'm …

Member Avatar for violaceous
0
121
Member Avatar for yaseer zeni

Dear Members, I have three drop downs 1. Expense Type (Maintenance & Running) 2. Maintenance Expense 3. Running Expense All are populated through there data bases. I want, if i select maintenance from first only maintenance will be available and if running expense only running expense values are available. your …

0
80
Member Avatar for sem123

How to convert excel file to pdf and upload in php I need a project to convert file in pdf file as excel and upload to webserver and see in pdf format how can i use linux server for pdf converter in linux and upload file

Member Avatar for cwarn23
0
111
Member Avatar for davy_yg

category_manager.php [CODE] <?php //LOAD USER $result = mysql_query("SELECT * FROM kategori_berita"); while ($data = mysql_fetch_array($result)){ ?> <tr> <td><?php echo $data['kategori'];?></td> <td> <a href="./category_manager.php?id=<?php echo $data['id']; ?>&mode=delete">Hapus</a> | <a href="./category_manager.php?id=<?php echo $data['id']; ?>&mode=edit">Edit</a> </td> </tr> <?php [/CODE] Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\php_template2\category_manager.php on line …

Member Avatar for Matthew N.
0
245
Member Avatar for davy_yg

I have the following codes: [CODE] <?php class LongName { var $firstname = " "; var $middlename = " "; var $lastname = " "; function firstname() { echo "First Name : ". $this -> firstname; } function middlename() { if (middlename){ echo "Middle Name : ". $this -> middlename; …

Member Avatar for cwarn23
0
151
Member Avatar for stupidfly

I want to display the URL of a page using PHP. Basically do this: <script language="javascript"> document.writeln(document.location); </script> with PHP

Member Avatar for ragstergurr2122
0
414
Member Avatar for atalkingfish

Hello, I have been learning php stuff for the last few days. Recently, I have learned how to allow user registration, and I have made this simple voting code that allows people to "like" or "upvote" something on my site. The way the site is set up is there is …

Member Avatar for atalkingfish
0
242
Member Avatar for atalkingfish

I have a page on my testing site where users can post news. The posting page has a title, link, and body. The link can be left optional. I wanted the page to turn out that if a link was provided, it would make an <a> tag around the title, …

Member Avatar for atalkingfish
0
122
Member Avatar for amear

i have a smile function i want a simple add on it i want to set the limit for replace codes with smiles function smiles($shout){ //This function searches the shout for the smilies and replaces it with the image code. $FileName="lists/smiles.php"; $list = file ($FileName); foreach ($list as $value) { …

Member Avatar for diafol
0
256
Member Avatar for maxlipman

Hi, My name is Max and I am 14. I need to show warning first time my site is visited. (like SNIP the first time you visit it shows a warning, the seconds time it just takes you to the site, my uncles friends site) Does anyone know a simple …

Member Avatar for maxlipman
-1
137
Member Avatar for edn_781

Suppose I have a PHP SESSION script, which can load in my friend PC but not run into my PC. Code is same and code running a single server machine! What could be possible reasons? HELP me!

Member Avatar for diafol
0
63
Member Avatar for shujat132

Hello seniors, How are you….? I need your help to remove little logical error form user registration form. I have created a user login & registration form. It works fine when I try to reach that form by this method First I put this address in address bar [COLOR="Red"]http://localhost/series/[/COLOR] After …

Member Avatar for diafol
0
313
Member Avatar for abhi10kumar

I am using pagination with search option. Pagination is working perfectly, when I searched and click submit button the no. of records and pagination are showing correctly on first page and pagination. But when I click on next page it will show all records ( means default query) <?php if(isset($_POST['Submit1']) …

Member Avatar for diafol
0
704
Member Avatar for davy_yg

[CODE] <?php // connect to database $con = mysql_connect('localhost', 'root', ''); if (!$con) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully <br>'; $db_selected = mysql_select_db("template", $con); if (!$db_selected) { die ("Can't use template : " . mysql_error()); } else echo 'database connected <br>'; mysql_close($con); //LOAD USER $result …

Member Avatar for antonioatt
0
108
Member Avatar for kaosjon

Hi, i am just adding the last component to my registration page, but i am having a little trouble with it. Basically my website includes a referal based system, wherebye when the user signs up they can add a referal that benefits the referal later on. The code i am …

Member Avatar for kaosjon
0
115
Member Avatar for abhi10kumar
Member Avatar for nonshatter
0
78
Member Avatar for praveen_dusari

hi all, i have two three dimensional array like this [CODE] $array1 =Array ( [0]= array ( [0]=array ( [name]= praveen [id] = 20 ) [1]=array ( [name]= kumar [id] = 25 ) ) ) $array2 =Array ( [0]= array ( [0]=array ( [name]= pandu [id] = 21 ) [1]=array …

Member Avatar for cereal
0
162
Member Avatar for gotboots

Hi all, I have this code that seems to work fine for the order but cant get it to pass the invoice side of things. the trouble im having is when i do the order its fine, but when i do an invoice it sends me back to the order …

Member Avatar for gotboots
0
161
Member Avatar for bipies

Is there any way to execute a wordpress plugin's call tag [CODE][pluginname=parameters] [/CODE] from custom fields? Actually I'm trying with a function and then calling it from the template: [CODE]<?php if ( function_exists('get_custom_field_value') ){ get_custom_field_value('my custom field', true); } ?>[/CODE] but my result is the plugin call tag [CODE][pluginname=parameters][/CODE] . …

Member Avatar for bipies
0
176
Member Avatar for LRNPHP

Hi There, I would like to know if it's possible to use or what I could use to get the required results. The values [code] +2711 081 076 086 080 9011 6547082 9013 9039 9086 9041 +27084 substring(table,length(tbl_code),length(tbl_code))=trim(tbl_code) [/code] I have different values lengths in my MySQL table that's not …

Member Avatar for twiss
0
120
Member Avatar for ankit.pandey3

[CODE]<?php $myServer = "202.138.125.155"; $myUser = "micro_fms"; $myPass = "micro_fms*#$"; $myDB = "micro_fms"; //create an instance of the ADO connection object $conn = new COM("ADODB.Connection")or die("Cannot start ADO"); //define connection string, specify database driver $connStr = "PROVIDER='SQLOLEDB'; SERVER=".$myServer.";UID=".$myUser.";PWD=".$myPass.";DATABASE=".$myDB; //Open the connection to the database $conn->open($connStr); //$table_name=$_GET['Device']; $table_data=$_GET['Data']; $data=(explode(",",$table_data)); $table_name=$data[0]; $speed=$data[1]; …

Member Avatar for twiss
0
214
Member Avatar for rubai

i have dreamwever cs4 and wamp 2.1 . to practice php programs i need to connect dreamwever cs4 to wamp 2.1. how can i connect? please any one tell me step by step instruction.

0
98
Member Avatar for vidjin

Hi, Can someone give an example how the following task can be achieved smartly? I have this Database Table with 2 fields [B]1. Brand_ID 2. Brand_Name[/B] [B]SQL[/B] = SELECT Brand_ID, Brand_Name from brands limit 0,12; and I have to loop through it and place the values in the following HTML …

Member Avatar for pritaeas
0
139
Member Avatar for mukororokudo

hi .. i need help .. i'm making a login page with sign-up feature .. meaning if you are not already registered in the database you have to sign-up on the sign-up page .. i know how to make the pages but my only problem is .. how can i …

Member Avatar for mukororokudo
0
175
Member Avatar for LordRiq

Ok, so I wondered if it was possible to create some kind of form with text boxes or something, and make whatever's in them be stored in variable (ie. $title) and then insert those values into a template on a new .php-page with the variables. I don't know if this …

Member Avatar for diafol
0
94
Member Avatar for bostonselkirk

Hi all. As a hobby I've been working on making a website with PHP and MySQL, both of which I am new to. I'm having some trouble with the comments system as I can't seem to be able to insert a date into the database. After the "insert", when I …

Member Avatar for pritaeas
0
176
Member Avatar for ivanichi

Hi friend, i have 2 files 1. ft.php and 2. inf.php [B] this is ft.php[/B] [CODE] <script type="text/javascript"> function setTXT(x) { opener.document.fmain.mms.value=x; window.close() } </script> <? include_once "conf.php"; $sql="select id,pl,inf from det_pl"; $data=mysql_query($sql); ?> <br> <table width="100%"> <tr> <td align='center' class="headlist" >no</td> <td align='center' class="headlist" <?=$colspan?> >code</td> <td align='center' class="headlist" …

Member Avatar for AleMonteiro
0
296
Member Avatar for h3rb

hi all, i have a problem with multiline json file that i wish to insert into an sql db. my problem arose as i went from one data set to two in the JSON file. the one data set was sucked from the json file to the sql db via …

Member Avatar for cereal
0
237

The End.