edbr 22 Junior Poster

im not sure this is a good thing to say, but its true.
I find that tags are fine but for usability i now visit SO as the layout is easier and more functional. Especially on mobile.
Way to much scrolling with too much unwanted info first, hard to find tags tha are of interest (in my case php).
Sorry but thats how it seems to me , thanks for the help i have recieved

edbr 22 Junior Poster

Yes I think its a matter of tweaking also. Tags vs subforums should be fime for user and forum . But i do feel the mass of avatar, profile cv changes does little for a user experience, more so on a hand phone that desktop maybe

dtpp commented: more + than - +0
edbr 22 Junior Poster

Plus why couldn't you just make this kind of list appear when they click the primary category? So when they click Web Development then it'll take them to every post then they can enter the tags they want to give help for.

i an starting to feel it is not a great site to view, having to scroll down past all the so ans so joined so and so changed this etc multiple posts of apossible languages that have no relevance to me.
i see Stackoverflow use a button that displays tag by popularity so the most popular tags are easy to access. IMO a much easier experience.
I get the feeling that negative comments arent being viewed very well however thats my opinion. and its meant in a positive way

edbr 22 Junior Poster

i would like to throw my penny farthing to this, i had the same feeling would prfer the question form as a slide in . just my opinion though :)

edbr 22 Junior Poster

trying to find this thread ( i saw it first on my phone0 i searched for diafol. it returned 1 post 2 yeasr old . that cant be good

diafol commented: Heh heh, the devil geatest trick is to convince everybody that he doesn't exist ;) +0
edbr 22 Junior Poster

i agree with that i would like to see who is a mod. its not shouting but an question that should be looked at IMO.
If winning means everybody is happy and agrees with the new changes i doubt that will ever happen.

edbr 22 Junior Poster

but even Microsoft had to listen to its users eventually when they introduced win8. Im sure they thought they were changing for all the right reasons.
Persomally i dont have any issues with the new approach but would be interested to see who is happy with new and who is not and will choose other sources for there time

dtpp commented: good point :)\ +0
edbr 22 Junior Poster

$_SERVER['DOCUMENT_URI']. will echo the directory you are in so it will always cause a problem. is this not ok or is it interfering with your .htaccess somehow?

<ul> <li><a href="<?php echo 'index.php'; ?>">Organisation</a></li> <li><a href="<?php echo 'about/organisation.php'; ?>">Organisation</a></li> <li><a href="<?php echo 'about/team.php'; ?>">Team</a></li> </ul>

edbr 22 Junior Poster

There are some schools of thought that the death of Turing may have been accidental rather than the suicide cause that was returned by the inquest at the time.
Supported by colleague that stated he was in good spirits, and with a lot of planned projects.
Although it still remains a sad end to a life that had so much potential

edbr 22 Junior Poster

ah here Click Here

edbr 22 Junior Poster

there is a jaquery plugin active.js which adds a class to your current selected page. sorry cant find the url for it

edbr 22 Junior Poster

i have a mailing list of almost 5000 which i send a newsletter /update monthly. i have grown this over some years and have used a mailer on my site ( pommo) hwever with the size growing it is becoming a chore, with frezez etc. so looking at mail servers but not too impressed with the prices i see of the better known ones. so my question is . has anyone tried sendy? The blurb looks reasonable and seems cheap but I am cautious. words are wind after all :)

edbr 22 Junior Poster

yes thank you

edbr 22 Junior Poster

http://localhost/phpmyadmin perhaps phpmyadmin should be at /usr/share/phpmyadmin

edbr 22 Junior Poster

Selemat Datang

edbr 22 Junior Poster

In terms of being understood, although I am english and do not have a pronounced accent, on our travels my Dutch wife is more readily understood by others that have english as a second language than I am.
I perhaps speak tooo quickly but I hear non native speakers make the same errors and get by famously.
When we ere living in Mexico i was not well understood as i didnt have the american accent that they were used to hearing. same now as i live in Bali, Australian accents are easier for the locals to follow.
or maybe I just mumble a lot :)

edbr 22 Junior Poster

thought id throw my observations in. I have virtually no experience with CI or CMS in general so i though i might represent an unskilled and unbiased view. Or not so feel feree to ignore me :)
Installed without an issue. but made note a couple of v small things
password confirm needs a <br> to put it under, the password field as it is strange looking allignment.

in the site seetings for fonts i would like to see a data-list of suggested fonts.

If there is not a template or theme to be added it would be good to be able to size the heights of the footer header or i think the results will be a bit uniform.
just my initial impressions, but over all it seems a good project under way

edbr 22 Junior Poster

<img src="image.jpg" title=" my title" width="640" height="401" />
title element

edbr 22 Junior Poster

ok i just changed drive and no problem. Just me being super cautious. thanks

edbr 22 Junior Poster

@pacav69 yes thanks i know that but was just concerned changing drives would mess up the bootmanager. i had tried cloning before but had issues with bad sectors so i reinstalled just cant track a few files.
i will boot the old disk, I just wanted to ask incase there was an issue i didnt know about, windows seems a bit skittish at times

edbr 22 Junior Poster

i want to run fire fox to export password files , i thought i had but seems i either didnt or lost it

edbr 22 Junior Poster

I just replaced my hard drive and diid a new install. I now realise i left a couple of files i didnt back up.
my question is , am I ok to replace my old drive boot up , then export the foiles then put back my new drive .
its seems logical but im worried the pc will throw a fit and not be able to boot. thougt id ask before i try :)

edbr 22 Junior Poster

AC/DC were one of the few bigger name bands to perform in Bali, sadly i missed them.

edbr 22 Junior Poster

always new stuff to learn.
Before I got married, I had absolutely no idea there was a wrong way to put the milk back in the fridge.

edbr 22 Junior Poster

@mushfik thank yu for answering pritaeas already saw that rookie mistake :)

I hit fruther problems testing this, the download error caused a download of something and it caused wamp to just keep downloading to the point it crashed my harddrive . took me a while to see the problem as i thougt i had a drive corrupted but will try again today with bettr explanation
im feeling as dumb as a bag of hammers at the moment :)

edbr 22 Junior Poster

it shows a download alert (windows) with the usual open or save options but shows the file as 'download' no extension shown

edbr 22 Junior Poster

i posted a file 3.jpg but download shows just download no actual file as such

edbr 22 Junior Poster

page showing but downloading 'quote' download not the image name i put in the form
so this must be wrong?

`public $fileToDownload = 'ajax-loader.gif'; // File to download listed in the 'download'

changed to public $fileToDownload `

edbr 22 Junior Poster

hA!! thank you i got totally frustrated with it , on the verge of passsing on OOp yest again . ill keep going :)

edbr 22 Junior Poster

thank you i had read it but my problem still confounds me

it looks to me that i used __construct as you did in your case

function __construct() { $this->colour = 'white';

so i am sure i am doing something fundamentaly wrong, just cant see it

edbr 22 Junior Poster

im trying to work/modify with a class i downloaded. sadly im not getting it. I have yahoogled oop and its not making me any wiser.
can some one explain please what i shold be doing?

first of all the classes have a number of vars in the original form like so being the one i want to use

public $fullPath= DD_DIR;   
    public $fileToDownload = 'ajax-loader.gif'; // File to download listed in the 'download' directory

ok so as i understood i have to construct to use a post value. i did this

function __construct() {
        $this-> $fileToDownload = $_POST['image_name'];
    }

    and changed the var to

    public $fileToDownload ; 

All the wheels fell off, and nothing get displayed on the page that includes the class. and I hoped some one would give me a jump start.

edbr 22 Junior Poster

a booking calendar with payment gateway maybe, 56there is a lot of call for those

edbr 22 Junior Poster

it did occour that a lass might be good as im thinking of this as reusable but im only on nodding terms with OOP, might be a good reason to go that way. i;d like to get to gripos with thinks like connection testing and how oit would work with shared hosting though before trying to struggle ( again ) with OOP.
Thank you for respnse btw :)

edbr 22 Junior Poster

whoops done it and feeling bit embarrassed

$dbh->exec( $create)
tied myself in Knots. I would still appreciate some clues to advance this a bit

edbr 22 Junior Poster

I am helping a friend build as site and at a testing stage. it came to creating a database and i discovered he was a bity lost. i explained howto do it in phpadmin but i then decided to write a page or 2 to install it would be a nice project to do.
I got it done ( although messy) and would like to make it more generic for possible future use. So im risking your comments in the hope i can learn a bit more.

Ok first page 1
connects to sever (PDO )
creates database and a config file . so far so good

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>
<style>
label{ width:150px; float: left; clear:left;}
input{width:200px; float: left;}
</style><body>
<form action="" method="post">
Connect to server<br>
<label>Host name</label><input name="host" type="text"><br>
<label>user</label><input name="user" type="text"><br>
<label>Server pass word</label><input name="pass" type="text"><br>
<br>
<br>
New database and user <br>
<label>Database</label><input name="datab" type="text"><br>
<label>New user</label><input name="n_user" type="text"><br>
<label>New password</label><input name="n_pass" type="text"><br>
<label>create database</label><input name="go" type="submit" value="Submit"></form>

</body>
</html>
<?php           
$host=$_POST['host'];
$root=$_POST['user'];
$root_password=$_POST['pass'];
$user=$_POST['n_user'];
$pass=$_POST['n_pass'];
$db=$_POST['datab']; 
        $dbh = new PDO("mysql:host=$host", $root, $root_password);

        $dbh->exec("CREATE DATABASE `$db`;
                CREATE USER '$user'@'$host' IDENTIFIED BY '$pass';
                GRANT ALL ON `$db`.* TO '$user'@'$host';
                FLUSH PRIVILEGES;")   ;

           $data = " <?php ".
           '$host'.'='."\"".$host."\"". ";\n\r".
        '$uhost'.'='."\"".$db."\"". ";\n\r".
         '$uuser' .'='."\"".   $user."\"". ";\n\r".
         '$upass' .'='."\"".$pass."\"". ";\n\r".
';?>' ;

    $ret = file_put_contents('conn.php', $data);

?>
<br>
<a href="step2.php">go</a></body>

file 2 uses the config file i created for the new connection,

where i have the exec)....create table

edbr 22 Junior Poster

in your database (phpadmin for example) use default current_timestamp and in attribute on update current_timestamp

edbr 22 Junior Poster

many resourses online yu couls try here for example http://www.tizag.com/phpT/

edbr 22 Junior Poster

specify student_code, s.student_code

edbr 22 Junior Poster

try s.student_code then

edbr 22 Junior Poster

from mysql

SELECT t1.name, t2.salary
  FROM employee AS t1 INNER JOIN info AS t2 ON t1.name = t2.name;

SELECT t1.name, t2.salary
  FROM employee t1 INNER JOIN info t2 ON t1.name = t2.name;

so maybe is the AS m part

edbr 22 Junior Poster

as the comented refer to different /members, it looks like a modyfied script. i would check the form field names that sends to this. just a guess

edbr 22 Junior Poster
edbr 22 Junior Poster

well another roundabout way is to write the result to a file
ex.

<?php
$file = fopen("text.txt","w");
echo fwrite($file,"Hello World. Testing!");
fclose($file);
?> 

then the reult can be retrieved in an html file

 <object width="400" height="50" data="text.txt"></object> 

Odd way to do it though

edbr 22 Junior Poster

is that what you want , http://www.biztree.com/doc/requisition-slip-D1124 ?
how do you plan to use it? you will need to be a lot clearer

edbr 22 Junior Poster

css or javascript not php

edbr 22 Junior Poster

would that not depend on your own crireria? maybe look at a comparison guide.
http://socialcompare.com/en/comparison/php-frameworks-comparison

edbr 22 Junior Poster
edbr 22 Junior Poster
      $result = mysql_query("DELETE FROM $Pet WHERE Pet_ID IN($ids) ") or die(mysql_error());
    }

    0r
          $result = mysqli_query("DELETE FROM $Pet WHERE Pet_ID IN($ids) ") or die(mysql_error());
    }
edbr 22 Junior Poster

got it done with below. thx

        $sql= "SELECT * FROM villadata ";
$result = $test->query($sql);
while($row = $result->fetch_array())
{
$rows[] = $row;
}   
foreach($rows as $row)
{
 if( $row['area']=='Sanur'){
    echo  $row['title'].'<br>';
        }}  
edbr 22 Junior Poster

thnk you , i got it working using PDO but I could not see why it would worl locally and not live