39,393 Topics

Member Avatar for
Member Avatar for whiteberry

Where is the best place to save cakes.php in Apache web server? I was trying to develop a web page in Dreamweaver, and then save it so that the Apache server runs it in standard browser without fail.

Member Avatar for diafol
0
221
Member Avatar for survesunny18186
Member Avatar for Harshadewa

Here are details about my forum to make things easier. phpBB Version 3.0.1 Host Servage.net Style fisubice2 Database type/version MySQL 5.0.85 How did you install your board? Using install package from Phpbb.com Fresh install or a conversion First I installed Phpbb2. And then upgraded to version 3 MODs installed? [CODE] …

Member Avatar for digital-ether
0
177
Member Avatar for php_coder

Hello guys I still could not solve the PDF issue :( I am using XAMP server on windows system. I think PDF comes with it by default. (not sure though). I have uncommented the required 2 lines in php config file. Yet no luck. Could somebody please help me out? …

Member Avatar for asyouwish
0
1K
Member Avatar for Vai

How do I make the timestamp string be displayed as something that is actually readable / understandable? Yes, I have looked on google, here and a couple other places, but I am not seeing anything too specific or I am just not understand. Thank you for your understanding, helping me …

Member Avatar for Rkeast
0
151
Member Avatar for Tribal01

Heya Guys, I am currently working on a project, on which my customer wants to have a customizable object. Now, what i mean by this is that the customer wants a customizable "shoe" on their site. Whereby visitors can choose the colour of the laces, the lace holes etc etc. …

Member Avatar for codejoust
0
159
Member Avatar for valonesal

So here is what I would like to achieve, I currently have 2 servers one of the servers has a script installed on it that is a pretty nice script, I would like to be able to run this script on both server while it is only installed on one …

Member Avatar for digital-ether
0
114
Member Avatar for Auch

Hi! I have a form working and in the login section I also give the option to register in case someone hasnt done so yet. This will show another form which, on submit, will use a different .php page. Now on that page,if register is successful, I'd like it to …

Member Avatar for Auch
0
104
Member Avatar for Naveenk2k

Hi I have updated the database when browser is closed,But i have a small problem.i.e. The database is updating when the page is refreshing also. I need that the Database should be updated on when the browser is closed(Not updated when page is refreshed).

Member Avatar for digital-ether
0
72
Member Avatar for tulipputih

Hello, Anyone know how to solve this problem? I have several tables. 1. the main table namely lesson contains several fields that used for searching. 2. weight is assigned by users for each keyword for searching purpose. 3. users' keyword will be compared with the record in the database. each …

Member Avatar for tulipputih
0
193
Member Avatar for arunajasmine

Hi, i am having Cakephp code like [CODE]<?php foreach ($viewfields as $r): if($r['Attribute']['type']=='radio') { ?> <script type="text/javascript"> jQuery.noConflict(); jQuery(document).ready(function($){ $("#"+<?=$r['Attribute']['id'];?>).each(function() { type= "<?=$r['Attribute']['type'];?>"; attribute_id="<?=$r['Attribute']['id'];?>"; if(type=="radio") { var ht = $.ajax({ type: "GET", url: "http://localhost/FormBuilder/index.php/forms/viewChoices/"+attribute_id, async: false }).responseText; var myObject = eval('(' + ht + ')'); var data = myObject;var j=0; …

0
121
Member Avatar for Jord09

Hi I'm trying to use the functions/methods of one class inside another, however I keep getting errors and I don't understand this... for example; [CODE=PHP] class DB { private $host; private $user; private $pass; private $database; public function __construct($host, $user, $pass, $database) { ... } public function query($sql) { ... …

Member Avatar for Jord09
0
140
Member Avatar for Jeyush

Hi mate, I use regex for my validation but @ this time I get confuse, how to use white space in it. I want user to enter a city name, some city name contains white space like Los Angeles, New York, I have regex which is not allowing user to …

Member Avatar for digital-ether
0
157
Member Avatar for ondusko

I installed a joomla template and the search seems to be the only thing that is not working ,it a;ways comes up with a 0' for results where in in the back end can i fix this issue ? thankyou

Member Avatar for digital-ether
0
54
Member Avatar for niranjan087

I am working with a php file(WAD Assignment.php) now. If a condition is satisfied, it displays a JRadiobutton option. I want the value of that JRadioButton in my php file. But the value is not coming out. How can I do it? Code is below. <code=php> if($row["membership_category"]=="Student member"){ ?> <html> …

Member Avatar for SimonMayer
0
121
Member Avatar for jay_412

hey guys,,I need some help on how to call the stored procedure using classes,, I have my weeklyevent.sql file that contains stored procedure.One of this is updating a record [QUOTE] drop procedure editweeklyevent$$ create procedure editweeklyevent ( i_ses bigint, i_weid int, i_strt date, i_end date, i_act smallint, i_min smallint, i_vis …

Member Avatar for pritaeas
0
142
Member Avatar for debuitls

Hi all, Wondering if somebody can help me.. Bascially I have two tables bid table and proposal table. I'm trying to print to screen all the proposals made by a particular user! The problem is that only those proposals that have bids made on them are printing to screen. So …

Member Avatar for Thirusha
0
87
Member Avatar for jay_412

hi guys,,i had this problem,,I want to make a function for the days but the days has the equivalent values..... 1-Sunday 4-Wednesday 2-Monday 5-Thursday 3-Tuesday 6-Friday and 7-Saturday and also for the visibility 1-Active 2-Inactive No database had been query on it..So its just a function but the output would …

Member Avatar for darkagn
0
78
Member Avatar for Barefootsanders

Hey everyone. I just recently set up(or tried to) a userdatabase where people can log in and see a user edit page. For some reason when you try to register, instead of redirecting to the successfull register page, it just goes to a page, "process.php" which process the login when …

Member Avatar for kumar_kagathara
0
155
Member Avatar for hmkk

hello, i am new to php and i am problem whie installing classifieds my database is hitech_classifieds and username is hitech_admin Please tell me how should i write that info in the following code so the errror doesn;t come <?php $haserrors=FALSE; function print_sql_error(){ global $haserrors; $haserrors=TRUE; print('<font color="#FF0000">' . mysql_error() …

Member Avatar for darkagn
0
302
Member Avatar for JBridges

This seems like the most basic issue in PHP, but I can't figure out the best way to do this. In short, I am working on upgrading an existing site and instead of Dreamweaver's clunky template function, am switching to PHP includes for various constant parts of the site (header, …

Member Avatar for codejoust
0
108
Member Avatar for charles07

Warning: mail() [function.mail]: Failed to connect to mailserver at "C:\wamp\sendmail\sendmail.exe -t" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\akhil\booking.php on line 559

Member Avatar for codejoust
0
72
Member Avatar for sarithak

Hi frnds... I am doing poll in AJAX..this is first time i am using AJAX.. The below code is working fine in mozilla, chrome...but not working in IE....plz check the below code...and change the code as correctly..i think problem in object creation in IE.. [CODE] <script> //VOTE POLL ------------------------------------- function …

Member Avatar for diafol
0
100
Member Avatar for mstrlouis

My code is a php search function which is supposed to search from two tables in my database and displays matching results from the two tables in a line after line format. It is supposed to match the two tables with a common key field. However, the primary table has …

0
183
Member Avatar for Mujahid158

I'm running a PTC website. I want to show the last member registered on my website. I tried the following query but nothing is shown on the page; [CODE] <? $mem = mysql_query("SELECT username FROM tb_users ORDER BY id DESC LIMIT 1"); ?> New Member: <? echo $mem; ?> [/CODE]

Member Avatar for Mujahid158
0
81
Member Avatar for empoor

Hey. I've got this code, [CODE] // query article $query1 = "SELECT * FROM (articles LEFT JOIN authorisation ON articles.page_id = authorisation.page_id LEFT JOIN authors ON articles.author_id = authors.author_id) WHERE articles.page_id NOT IN (authorisation.page_id) ORDER BY issue ASC"; $mysql_result1 = mysql_query ($query1) or die ("Query '$query1' failed with error message: …

Member Avatar for empoor
0
145
Member Avatar for wandor

When I fill my Contact Form 1) select option TITLE (MR. MRS. MISS) 2)First Name 3)Last Name 4) E-mail I make validation to all data, The question is when I select title e.g. MR and then fill first name, last name AND e-mail IS NOT right (info2company.com) validation said *Email …

Member Avatar for cwarn23
0
2K
Member Avatar for beershits

I'm trying to setup a simple php code that will read .txt files. I want the links to change $x to the desired .txt file, then print the results below the navigation. The code works if i predefine $x, but i want to make it where clicking the links defines …

Member Avatar for almostbob
0
73
Member Avatar for praveen_dusari

hi all, i am generting a report where i need to display the monthly wise reports iam not able to display correctly [code=php] <?php ob_start(); include_once('login_check.php'); include_once('functions.php'); $mon=date("m"); $year=date("y"); $num = cal_days_in_month(CAL_GREGORIAN, $mon, $year); ?> <html> <head> <title>..</title> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> <link rel="stylesheet" type="text/css" href="../styles.css"> <style type="text/css"> <!-- body …

Member Avatar for praveen_dusari
0
149
Member Avatar for severman

hi all i have a very urgent question i want to write a function that i can use what i want to do is something like that: [code] <?php $a=_GET["a"]; function radom() { $x=rand(0,4); echo "&b=$x"; } if($a==1) {random(); } [/code] the problem is that it doesnt work... i'm getting …

Member Avatar for codejoust
0
89

The End.