39,388 Topics

Member Avatar for
Member Avatar for kumold

Is it possible to use Kohana ORM with MySQL AND Oracle DB? More wider questions is is it possible to use two different databases (RDBMS) with Kohana?

Member Avatar for kumold
0
169
Member Avatar for best4earn

How can i make a single login form for purchaser , seller , distributer , franchiser . All have diffrent right , franchise can se all activities of distributers , seller & purchaser bt a distributer cant se franchiser data . Distributor can see only seller & purchaser . And …

Member Avatar for kevinyu
0
328
Member Avatar for davy_yg

Hi, Someone suggest me to use Netbeans to debug code in php. I have installed php, yet do not know how to detect errors that I have using Netbeans. Does anyone know how to use it ? I try debug -> debug file -> Run arguments (empty) -> (x) php …

Member Avatar for kvprajapati
0
80
Member Avatar for renierdbruyn

I have the following function: function rank() { $sql = "SELECT * FROM applicant_details"; $results = $this->db->query($sql)->result(); $sql3 = "SELECT * FROM job_advert"; $job_advert = $this->db->query($sql3)->result(); foreach ($results as $applicant) { $applicant_age = $applicant->age; $applicant_id_number = $applicant->id_number; foreach ($job_advert as $advert) { $job_title = $advert->job_title; $age = $advert->age; if ($applicant_age …

Member Avatar for broj1
0
213
Member Avatar for klemme

Hi all, I have to find out to write a function that can serve PDF documents (invoices) in the browser window. My challenge is that the PDF fiels is on another server, which I do have access to. Can I somehow just create a link on the site, and then …

Member Avatar for pritaeas
0
536
Member Avatar for ehpratah

Good Day everyone im having trouble in script right now basically im trying to make an if statement that will assign rate base on the destination, branch ,service and vehicle. which is working fine just a moment ago but when i add another array for another destination it seems that …

Member Avatar for ehpratah
0
125
Member Avatar for Robonte

If got a problem in a mysql select string. I get some data from a mysql table and want use some data to pull data from another table. When I use static (i typed it in) it works good but when i use the data that i got from the …

Member Avatar for bradly.spicer
0
351
Member Avatar for Olagsfark

Here, i've built a script that gets the time a user accessed the login page and stores it in a session with the user's i.p address and when next the same user accesses the login page, if the time difference is less than 5 seconds, the script wil display a …

Member Avatar for pritaeas
0
174
Member Avatar for best4earn

Can any Body Tell me how can i genrate E-pin for MLM web site which makes payment secure from customer to admin & how can i transfer these pin from customer to customer in secure way

Member Avatar for pritaeas
0
160
Member Avatar for Namrata Patel

When i m making contact from with database connection, 2-3 times it is executing properly but ,after that when i execute it again ,thn it is opening only multiple tabs in firefox .wht should i do nw plz help my web server is wamp

Member Avatar for pritaeas
0
64
Member Avatar for L-D

Hi, Installing a new script.... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 5 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 …

Member Avatar for pritaeas
0
179
Member Avatar for BadManSam

Hi, I have been trying to integrate gravatar to my login system but it doesn't seem to work. Here is the code: <?php include("include/session.php"); $connectmysql = mysql_connect("localhost", "********_login", "*******"); mysql_select_db("********_login", $connectmysql); ?> <html> <?php $email = mysql_query("SELECT email FROM blog_users WHERE user = '$session->username', $connectmysql"); $default = "mm"; //This returns …

Member Avatar for cereal
0
146
Member Avatar for Iamateur

I wrote code in notepad and gave the extension as hello.php but it didn't change to web and so it did not run. Secondly ,I wrote code in Visual Studio asp.net web application <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="phphello._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" …

Member Avatar for JorgeM
0
245
Member Avatar for minitauros

Okay so I've been going through my HTML lately and I discovered that I was still using the <base> element to define my website's base path. I want to get rid of that - I would like to be able to use relative URLs all the time, without having to …

Member Avatar for minitauros
0
272
Member Avatar for best4earn

When i Open My Browser This Error Accourd . "Failed to execute query! ( -1)" plz help me to solve this issue ( UPDATE `name` SET `parentID`=[value-1],`id`=[value-2] WHERE 1) <?php /** * Handles creating and/or printing a Tree-Like HTML output, complete with * all necessary CSS styles. * * Assumes …

Member Avatar for pritaeas
0
313
Member Avatar for Clanstrom

I am new to PHPUnit & unit-testing in general, I have got this problem, thankfully I can sense, the answer is out there, maybe with everyone has ever done their first tests. Here it goes: I have been trying to find tutorials for unit-testing with PHPUnit. And, so far all, …

Member Avatar for pritaeas
0
248
Member Avatar for Webbsta

Hello everyone, I am working on a website and I decided to create my own testing server as I currently have my Windows machine hosting apache for this. I have now set up a seperate machine running Linux and on the face of it everything should be working fine. I …

Member Avatar for Webbsta
0
218
Member Avatar for piyush_jain2011

i'm using smtp "127.0.0.1" and smtp port "25" to send the mail. My application is working fine but mail is not sending. What i've to do for it. need some suggession.

Member Avatar for best4earn
0
115
Member Avatar for best4earn

I am a New developer , Now a days i am on mlm project ... I want to know how can i genrate 3 Point by Direct reference & 1point indirect reference & how can Transfer 1 member to another. plan MLM binary 1st = 1-left/1-right ==15% all remaining nodes …

Member Avatar for best4earn
0
178
Member Avatar for edwin.joseph.7543

Hi, so I have been trying to create a Login and Register system, but the thing is every time I try to login using the system nothing really happens. You can check it out at http://edwinjoseph.co/logintest/ if you click login and use **user** for the username and **password** for the …

Member Avatar for edwin.joseph.7543
0
398
Member Avatar for devarmagan

hi in my registration page i got about 20 input fields everythings are working fine except this multiple checkboxes. i read the articles related to my isses but no joy yet becouse my code is very complecated for example the register.php datas will be validate and process by process.php and …

Member Avatar for devarmagan
0
3K
Member Avatar for lloydsbackyard

I have php questions..please give me some ideas... 1. how can I destroy php session if the browser is close? 2. if i have textboxes and it contains data from the database. how can i destroy or expire the data the moment i press back in the browser. 3. in …

Member Avatar for lloydsbackyard
0
177
Member Avatar for BadManSam

<?php include("include/session.php"); ?> <?php $db = new PDO('mysql:host=localhost;dbname=******x2_login', '******x2_login', '********'); $stmt = $db->query('SELECT value FROM settings WHERE value = "Login Script" '); $id = $stmt->fetchColumn(0); if ($id !== false) { echo $id; } ?> <?php if(isset($_POST['Submit'])){//if the submit button is clicked $update = "UPDATE settings WHERE value = 'Login Script' …

Member Avatar for minitauros
0
166
Member Avatar for kaneo

I don't know what I'm doing wrong here, but I'm having hard time trying to insert data from a form into the database.The $_session['username'] is set and the database is included and working Here is my table CREATE TABLE IF NOT EXISTS `accounts` ( `accid` int(11) NOT NULL AUTO_INCREMENT, `acc_number` …

Member Avatar for kaneo
0
353
Member Avatar for Swati_2

//page2 edit button code.. page2 send the data back to page1 if user wants to edit <a href="purchase_form1.php?id=<?php echo $id; ?>" class="button4">Edit</a> //page1 php code. here the form is on this page //This GET[id] is sent from page2 which is user view page of the form on page1. //If user …

Member Avatar for broj1
0
581
Member Avatar for andreiviziru

Hi i have a long script named **images.php** that handles the image manipulation and the following script to handle multiple images at once <?php // load the image manipulation class require '../../image.php'; // create a new instance of the class $image = new Zebra_Image(); $directory = 'jocuri'; if ($handle = …

Member Avatar for andreiviziru
0
221
Member Avatar for jc.viloria.9

Hi guys Can somebody help me fix my issue on my site becuase everytime I tried viewing it www.discoveringnorth.com.. it gives me this error message: Warning: require(/data/16/3/106/85/3106574/user/3463076/htdocs/wp-includes/version.php) [function.require]: failed to open stream: No such file or directory in /data/16/3/106/85/3106574/user/3463076/htdocs/wp-settings.php on line 23 Fatal error: require() [function.require]: Failed opening required '/data/16/3/106/85/3106574/user/3463076/htdocs/wp-includes/version.php' …

Member Avatar for TomH.PG
0
152
Member Avatar for lewashby

Any ideas on some good beginner projects for PHP? I'd like to at, some point in the future, get into front end development and although I have a little self taught programming knowledge I don't have any real work experience in I.T. or programming at all, just the programs you …

Member Avatar for diafol
0
176
Member Avatar for asaidi

Hi in my form i have an option that i can attach a file to my database and i can see the filename in my database and in my view..but i m trying to make a link on it in view that i can read it please check my code: …

Member Avatar for cereal
0
484
Member Avatar for h2k

<html> <body> <h2>Search</h2> <form name="search" method="post" action="<?=$PHP_SELF?>"> Search for: <input type="text" name="find" /> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /> </form> <? //This is only displayed if they have submitted the form $find = $_POST['find']; $searching = $_POST['searching'] ; if ($searching =="yes") { echo "<h2>Results</h2><p>"; //If they …

Member Avatar for h2k
0
198

The End.