39,326 Topics

Member Avatar for
Member Avatar for best4earn

I have created my binary tree as , It Shows in List Perfectly but i want to show in Genealogy , how can we do this ..I have Pasted My Total Nodes Script Here with HTML & java script for making tables & draw lines btwn nodes . When I …

Member Avatar for best4earn
1
3K
Member Avatar for duna44
Member Avatar for renierdbruyn

Hi there.... I need help with a regex, I need a regex to check if the qualification types are valid, e.g. Bachelor's degree, Honours degree, National Diploma, B.Tech(BACHELOR OF TECHNOLOGY), etc... I have to check if the user's qualification matches the reqiured qualification. I have: if($user_qualification == $required_qualification){ //do something …

Member Avatar for pritaeas
0
445
Member Avatar for divyakrishnan

Hi..I have a problem on database insertion:( How to prevent duplicate record insertion on database while refreshing a webpage? I had tried the following code,but it also resubmitting the form data. [CODE] if(isset($_REQUEST['add_cat'])) { //code for db insertion } [/CODE] Thanks in advance

Member Avatar for Szabi Zsoldos
0
776
Member Avatar for nigelhow

The query is return an empty value on the frist row which means that the supposed value in the first row is in the second row , etc etc . How do i correct this? $query1 = "SELECT * FROM opentrades"; //You don't need a ; like you do in …

Member Avatar for stevie.whalen
0
193
Member Avatar for satbir4

case 'forward': $id = $_REQUEST['id']; $con = mysql_connect('localhost', 'root', '') or die("error in mysql connect"); mysql_select_db('database', $con) or die ("error in select db"); if ($con) { $query = "select * from signup1"; $runQuery = mysql_query($query, $con) or die("abc"); while ($abc = mysql_fetch_assoc($runQuery)); { echo "<div>$abc[ID] $id</div>"; } } break; ------------------------------------------------------------------------ …

Member Avatar for kaustavbanerjee
0
196
Member Avatar for nigelhow

Okay i have 2 variable named bid price and offer price . I need to fill in the values into the variables through cases. For each row of data ,i want to retrieve the rates for the currency pairs (eg. eur/usd,audusd) . I have 2 values for each currency for …

Member Avatar for broj1
0
236
Member Avatar for Rachael_1

I am trying to allow my users to update their own profile info. Yet, the query is empty(Nothing recorded into the database though it states "Your profile has been updated!") What did I do wrongly? **userlist.php is where my list of users are displayed** <?php include ('connect.php') ?> <!DOCTYPE html …

Member Avatar for glycerine
0
294
Member Avatar for asaidi

Hi i m trying to save a file pdf to a location : xampp\htdocs\cake\app\webroot\files or any where in my pc i have this code... public function upolad() { $filename = ''; if ($this->request->is('post')) { // checks for the post values $uploadData = $this->data['Pod']['pod']; if ( $uploadData['size'] == 0 || $uploadData['error'] …

Member Avatar for cereal
0
220
Member Avatar for websponge

I have the below code that grabs all the data I need, but as there are duplicate names in each row, I only want to display this once as a heading, and then display the array. <?php echo "<h1>Results Summary</h1>"; //TABLE RESULTS $psba = $_POST['psba']; $con = mysql_connect("localhost","root",""); mysql_select_db('project', $con) …

Member Avatar for minitauros
0
179
Member Avatar for aVar++

My teacher needs to be able to view my databases in PHPMyAdmin however I am running on local host. How could I make it so he can connect to my localhost on another computer?

Member Avatar for broj1
0
278
Member Avatar for vicky one

Hello every one i am seeking a user of joomla to help me a little. During joomla webinstaller database mssql is not connected it gives number error, now what to do??? Why mssql is not connected m using xammp server...

Member Avatar for BadManSam
0
70
Member Avatar for Malymieczek

Hi all, Im currently working on a php script that adds information to a database I created. I know the php script works because when i run localhost/signup.php?Name=test&User_ID=1 it works, however I cannot run the script from another computer. I have tried **x.x.x.x:3306/signup.php?...** and **x.x.x.x:8080/signup.php?...** however none of this seems …

Member Avatar for broj1
0
183
Member Avatar for andreiviziru

Hello! The main idea is that i want to set the variable for screen resolution of the user and pass it to php to manipulate her. How can i achieve that?

Member Avatar for broj1
0
317
Member Avatar for klemme

Hi All, I have a script that works fine for transferring files from one server to another when I use HTTP protocol. (When I use a test site that is.) Here is the script, working on test site with HTTP: // Navn pÃ¥ faktura der skal hentes $pdf_faktura_navn = 'Microsoft_sporgeskema.pdf'; …

Member Avatar for klemme
0
293
Member Avatar for shaqib

Hello, I have a csv file of about 200 rows and i have to create a xml file for each of them. The template will be the same for all expect two line which will be changed and will be replace the the data in the rows. Any idea how …

Member Avatar for pritaeas
0
72
Member Avatar for lloydsbackyard

i created a simple project usin firefox...bu when i browse it in it the template was destroyed..y is that? what shall i do?

Member Avatar for lloydsbackyard
0
108
Member Avatar for vicky one

Hello everyone! I am new to php language. I want to know if we install xammp server on our pc . Is there any need to install php 5.5.1 or any other version through php.net and mysql for data base or simply start work on the editor in simple php …

Member Avatar for broj1
0
203
Member Avatar for Rachael_1

Chanced upon a [youtube tutorial](http://www.youtube.com/watch?v=NJZBl5KXdXc) and decided to try out. When user hovers over to the image, he should be able to click on "Toggle avatar image" choose an image that he wants to change to. However, the "browse" and "upload" buttons are not appearing when I clicked on "Toggle …

Member Avatar for veedeoo
0
229
Member Avatar for websponge

Most annoyingly I cant get this to work, I made a sample table where there will be duplicate entries in some of the fields, and I need to display then all. table looks a bit like this id county city phonenumber the id is unique as is the phonenumber, but …

Member Avatar for websponge
0
183
Member Avatar for best4earn

i want to learn Best Frame work for Web Development , plz tell me which framework is best for all kinds of secure 100% & modern web development . a some toturial site if you have , than plz share Thanks

Member Avatar for jkon
0
293
Member Avatar for Myronz
Member Avatar for Bijay_1

A PHP Error was encountered Severity: Notice Message: Undefined index: id Filename: controllers/event.php Line Number: 215 function addParticipant() { $data['event_id'] = $this->input->get('id', TRUE); $event_detail = $this->EventModel->getEventDetail($this->input->get('id', TRUE)); $data['event_title'] = $event_detail[1]; $this->loadpage($data, 'people', 'Add participants | BCIPN'); }

Member Avatar for cereal
0
211
Member Avatar for kevinyu

I have posted code for my index() action from TestsController. To tell you what it does is that I login my username and password on that action. Since if you're only going to input the username and password, they are the only data that can go through $this->request->data. Now I …

Member Avatar for kevinyu
0
373
Member Avatar for FarrisFahad

Hi, I just downloaded TinyMCE WYSIWYG, and I am doing an insert query into MySQL using PHP. Everytime I submit the form it returns false. and if I toke out the textarea everything goes ok. I am pretty sure it's TinyMCE. Have any of you came across this problem, am …

Member Avatar for FarrisFahad
0
1K
Member Avatar for davy_yg

Hello I am trying to create a simple gallery CMS. All the pictures will be saved in uploads/ folder in the root of Codeigniter. Looks like my errors have to do with php programming. I am trying to print the pictures gallery to the screen: controllers/upload.php <?php class Upload extends …

Member Avatar for veedeoo
0
164
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

The End.