- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Just an average amateur coder.
- Interests
- Astronomy Tennis Coding
- PC Specs
- Core i7 2500k, AMD HD 6950, 8GB RAM
Hi everyone, I'm trying to make a little applet that reads text files. I was planning to load some data into a class and use it later. However, I seem to having a few problems with it. // DataSet.java package com.someone.something; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class DataSet … |
|
I've been away from web coding for some time but I feel like coding PHP again. I was phpDesigner a lot and I got use to it. Its features are great but the trial ran out. Can anyone recommend a free PHP IDE that has all or most of the … |
|
Hello fellow developers, Let me just start by saying I have had an abnormal start to developing. I started first with HTML > PHP > Java. I don't have much experience with Java but I feel quite confident in making PHP applications. I have already searched the forums but nobody … |
|
Hi, I was wondering whether it is possible to use a parent class' properties without calling its constructor. In the following example: [CODE]<?php class Shop { public $location; public function __construct($location = ''){ if(!empty($location)){ $this->location = $location; } else { $this->location = 'a place far far away'; } $this->location .= … |
|
Hi everyone. I've run into another problem :( I have 3 JS files I want to include in my page. The first one is defined statically in the html file. The other two are loaded into the DOM using the following function: [CODE] function loadJsFile(pathToFile){ var headID = document.getElementsByTagName("head")[0]; var … |
|
Hi, I have pretty just started javascript and I have to say it is the hardest language to learn probably due to the lack of official documentation or something like that. If someone can point me in the right direction for documentation, that'll be great. On the other hand, php … |
|
Re:
hello, i echo this [CODE] echo "<td ALIGN='center'><div class='rollover'><a href='http://www.tsfdgdg.com/search.php?search=$stackname' style='text-decoration: none';> <table border='0' celpadding='0' cellspacing='0' id=\"point\"> <tr> <td width='100px' height='101px' ALIGN='center'> <font size=3 font face=Arial font color=white><b>$stackname</font><br><font color=orange font size=2>$posted</font></b> </td> </tr> </table></a></div> </td>"; [/CODE] here is the css code [CODE]<style type="text/css"> .rollover a { float: left; width: 101px; … |
|
Re:
I wanted to know which PHP IDE is the best available in market. There are lots of products available. I would prefer one with a good help guide because i am new to this. |
|
Hello, Is there a way to create functions dynamically in PHP as such: [code=php] <?php $my_arr_conf = array( 'my_var' => 'This is my variable', 'your_var' => 'This is your variable' ); // Some code here where I can create the function // Maybe somehow with create_function(); ? // I was … |
|
Hey thanks for reading this. Say I have 3 classes and I want to combine those class into a core. Example [code=php] <?php class One { public function get_me(){ echo 'Hello from class One. '; } } class Two { public function call_me(){ echo 'Hello from class Two. '; } … |
|
Re:
Hi all. I have a current PHP script which checks a number of GET, POST, and REQUEST variables. These are currently in a top-down PHP file and these variables control the flow of the application. I want to convert file to a PHP class, create an object and then access … |
|
Re:
Oh no!... can this be deleted? I don't know what happened... I was typing in a new thread, and it got posted! I'm extremely sorry... |
|
This may sound a bit newby but I was wondering if you can use methods and properties from a child object [code=php] class Father{ function Father(){ // echo the child's $message } } class Son extends Father{ $public $message = 'We're in the same family!'; } [/code] If you know … |
|
I was reading how having globals inside a method was not good. Something like this. [code=php] class one{ function one(){ return "Returned one"; } } $ones = new one; class two{ public $one; function two(){ $this->tree(); } function tree(){ global $ones; echo $ones->one(); } } $callme = new two; [/code] … |
|
Heya everyone. You can call me iThaos. :D I'm currently in high school and in my spare time I usually, do some php scripting. I'm planning on learning C++/C# after I am at an intermediate level in PHP. It's nice to be here :D |