• Member Avatar for mattster
    mattster

    Replied To a Post in Problem with mysqli

    The php.ini is just the PHP config file, and will definitely be present in all versions of PHP. In your root PHP directory (where all of the PHP system/core files …
  • Member Avatar for mattster
    mattster

    Replied To a Post in php

    No no, my apologies for how that may have come across, I'm not accusing you for encouraging anything bad, just making sure he clearly knows the difference in using `mysqli_*`. …
  • Member Avatar for mattster
    mattster

    Replied To a Post in Problem with mysqli

    Personally I would use [XAMPP](https://www.apachefriends.org/download.html), as the binaries are that much more complicated to get sorted. As well as building and actually installing PHP, getting it to communicate with Apache …
  • Member Avatar for mattster
    mattster

    Replied To a Post in mysql to mysqli

    I would highly recommend the object orientated. It's a far more efficient way to work, but granted it's slightly more to learn. I think it also neatens your code if …
  • Member Avatar for mattster
    mattster

    Began Watching php

    haii....i had lot of different school datas and when i want to login into the data i want to get only the specified data according to the username and password..username …
  • Member Avatar for mattster
    mattster

    Replied To a Post in php

    Going on what @Gideon_1 first said, here is the `mysqli_*` version of his example (I haven't had a chance to test it at all yet, but I think it should …
  • Member Avatar for mattster
    mattster

    Began Watching Problem with mysqli

    Hello i have formatted my pc with Windows 7 and installed wamp server. My local project doesnt work. I am familiar with the difference between mysql and mysqli? Do i …
  • Member Avatar for mattster
    mattster

    Replied To a Post in Problem with mysqli

    You should *always* make a habit of keeping up with newer versions, mainly because these versions are released for a reasib (security patches, bugs etc.) I think PHP v5.3+ should …
  • Member Avatar for mattster
    mattster

    Began Watching mysql to mysqli

    Converting mysql to mysqli. i need help av been scratching my head how to make necessary changes but its like am making more errors. please help or give direction what …
  • Member Avatar for mattster
    mattster

    Replied To a Post in mysql to mysqli

    Start by building some simple queries, most of which can be done by replacing functions (like L21 `mysql_query()` with `$insert_row = $mysqli->query();`). You should slowly see the transformation as not …
  • Member Avatar for mattster
    mattster

    Began Watching DISPLAY ERROR IN ONLINE

    Hi friends, My name is Arjun and i am new to php .My doubt is if we uploading image or any file in online at that time if any of …
  • Member Avatar for mattster
    mattster

    Replied To a Post in DISPLAY ERROR IN ONLINE

    My rates are $5,000 per hour. Show some effort, **Google it**, try some code, then stop spamming us with your email address - why would any one email you when …
  • Member Avatar for mattster
    mattster

    Gave Reputation to HiHe in Could you share your knowledge about life?

    Use your brain, don't be a sheep and follow blindly!
  • Member Avatar for mattster
    mattster

    Gave Reputation to John_89 in HTML Code For Web Design

    You learn HTML Code For Web Design from w3school.
  • Member Avatar for mattster
    mattster

    Began Watching MVC Architecture

    Hii.. i want to learn mvc for php,can anybody please help me???
  • Member Avatar for mattster
    mattster

    Replied To a Post in MVC Architecture

    Have you even Googled it? Where did you get? Because I googled it and the top result ([here](http://www.sitepoint.com/the-mvc-pattern-and-php-1/)) is an amazing tutorial. I assume you already understand OOP in PHP, …
  • Member Avatar for mattster
    mattster

    Began Watching Are there any advantages in using ASP.net over PHP?

    Are there any advantages in using ASP.net or (any other language, for that matter) over PHP?
  • Member Avatar for mattster
    mattster

    Replied To a Post in Are there any advantages in using ASP.net over PHP?

    So basically there aren't any real pros and cons other than how the people needing to use the languages find them. As @rubberman says, PHP is far more neutral. If …
  • Member Avatar for mattster
    mattster

    Began Watching modify array before encoding to json

    I need help parsing json data to a specific format so I can put it on a line chart. More specifically a line graph using [highcharts](http://www.highcharts.com/demo/line-basic) This data comes from …
  • Member Avatar for mattster
    mattster

    Replied To a Post in modify array before encoding to json

    We need to see the array in `$row`, and how you are placing this into your `$data['graph']` variable. How can we show you how to manipulate an array if we …
  • Member Avatar for mattster
    mattster

    Began Watching E-commerce Hosting

    Hello, For any E-commerce busines mobile compatibility is important? If this is ignored then will it effect the business?
  • Member Avatar for mattster
    mattster

    Replied To a Post in E-commerce Hosting

    30% of people would prefer to buy something via the internet on a tablet, and nearly that again would prefer mobiles. The age of desktop browsing has long been replaced …
  • Member Avatar for mattster
    mattster

    Began Watching Navigation Bar

    Hello, Cek this navigation bootstrap page: http://www.innovation.web.id/bootstrap/5_5_6_navbar_inverted.html I wonder how to change the color of the menu bar? Is there any way to do that?
  • Member Avatar for mattster
    mattster

    Replied To a Post in Navigation Bar

    bootstrap.min.css, line 9: `.navbar-inverse .navbar-inner` is the one to change. Or a quick fix would be to overwrite it with this: .navbar-inverse .navbar-inner { background:#00ccff !important; }
  • Member Avatar for mattster
    mattster

    Began Watching get content html website

    Hi all, I'm taking the content of the page html kissanime.com. I use curl taken but no way to get. Everyone helped me get this way with
  • Member Avatar for mattster
    mattster

    Replied To a Post in get content html website

    My copyright thief alarm is screaming. Why would we help you write something that is going to crawl around other peoples websites and nick all of their content? Sounds very …
  • Member Avatar for mattster
    mattster

    Created Exams over, and back at last

    For the last month (and the preperation weeks before that) it's been tough getting 19 exams out of the way, my worst being four 1hr 30min exams on one day! …
  • Member Avatar for mattster
    mattster

    Began Watching Exams over, and back at last

    For the last month (and the preperation weeks before that) it's been tough getting 19 exams out of the way, my worst being four 1hr 30min exams on one day! …
  • Member Avatar for mattster
    mattster

    Began Watching Insert Span Value in Database

    I need to read the span value and insert into database in php <span class="GrandTotal">0.00</span>
  • Member Avatar for mattster
    mattster

    Replied To a Post in Insert Span Value in Database

    Is the span tag even likely to change CSS class? Because if not, why are you storing the whole tag? Why not just the time (and class)? Good practice not …
  • Member Avatar for mattster
    mattster

    Created Monopoly Board Game (CSS3+LESS)

    I was looking for something similar myself a few days ago, and found the odd example of a CSS based monopoly-type game board. To be honest, they were all shabby …
  • Member Avatar for mattster
    mattster

    Began Watching Monopoly Board Game (CSS3+LESS)

    I was looking for something similar myself a few days ago, and found the odd example of a CSS based monopoly-type game board. To be honest, they were all shabby …
  • Member Avatar for mattster
    mattster

    Gave Reputation to cereal in Text on Opacity background

    Hi, create a container for #box5, then you can use two methods. #Method 1# Move the text outside the opaque element and move it over, something like this: <div id="box"> …
  • Member Avatar for mattster
    mattster

    Began Watching HTML/CSS - Perhaps if some has time they can look this over

    I am issues involving the CSS for my HTML index page. I will be honest, I did not write all of the mark-up/code so now I am in discovery/repair mode …
  • Member Avatar for mattster
    mattster

    Replied To a Post in HTML/CSS - Perhaps if some has time they can look this over

    Which elements are you talking about specifically, as some have overrides and stuff to cause problems. Maybe worth posting a browser screenshot so we can see what you're seeing. BTW: …
  • Member Avatar for mattster
    mattster

    Began Watching Problem with getting data fro mtable and echo data

    Hello again. I have insert title, author and content data into table with admin-are page and now want to create a user-view-page.php that everybody enter into that page and see …
  • Member Avatar for mattster
    mattster

    Replied To a Post in Problem with getting data fro mtable and echo data

    Remember you need an ORDER BY to get them in date order, and a LIMIT to get the specified amount as well. Nearly there on the foreach, change it to …
  • Member Avatar for mattster
    mattster

    Gave Reputation to diafol in Profanity Filter

    Profanity filters don't really work as users will find a way around them. fcking hell, etc. It's the **intent** that should be policed not the word IMO. Some may find …
  • Member Avatar for mattster
    mattster

    Began Watching Help needed with Advanced $variables

    Hiya DaniWeb members, Before starting it's not basic $variables I need help with. I've been working on a project lately for a Minecraft Server website and this project will work …
  • Member Avatar for mattster
    mattster

    Replied To a Post in Help needed with Advanced $variables

    I think I can sort of see what you're asking, you mean do something like this? ([ref](http://php.net/manual/en/language.variables.variable.php#50912)) $type = '123'; $name_123 = 'hello'; echo ${"name_$type"} . "\n"; // prints "hello" …
  • Member Avatar for mattster
    mattster

    Began Watching Problem with my login page, facing with a blank page

    Hello. This is my CMS login page; login.php: <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = "mydbusername"; $dbpassword = "mydbpassword"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $dbusername, $dbpassword); $conn->setAttribute(PDO::ATTR_ERRMODE, …
  • Member Avatar for mattster
    mattster

    Replied To a Post in Problem with my login page, facing with a blank page

    Important to note: You've got `$result` containing the query results for an entire row that matches the username, not the password. Also, avoid md5() at all costs, you need to …
  • Member Avatar for mattster
    mattster

    Gave Reputation to vegaseat in Another Visit To String Formatting (Python)

    We have had several snippets on the format() function. This one gives a condensed overview of the many options you have.
  • Member Avatar for mattster
    mattster

    Began Watching Bootstrap nav css

    Hello, I am trying to create bootstrap navigation with background color of my choice yet, I haven't been able to do so. The default boostrap nav color is grey. How …
  • Member Avatar for mattster
    mattster

    Replied To a Post in Bootstrap nav css

    Add this somewhere in your stylesheet, or find it in the bootstrap CSS file (usually line 5 of bootstrap.min.css) and change it there. .navbar-default { background-color: #f8f8f8 !important; border-color: #e7e7e7 …
  • Member Avatar for mattster
    mattster

    Began Watching looking for a good CMS tutorial

    Hello. I'm trying to create a simple CMS, and looking for a good tutorial, any idea?!
  • Member Avatar for mattster
    mattster

    Replied To a Post in looking for a good CMS tutorial

    In addition to Laravel, since it seems to be having a few "teething problems" with version 5, consider other frameworks. IMHO, CakePHP is the leading PHP framework for novices. It …
  • Member Avatar for mattster
    mattster

    Began Watching Adding icons

    Hello! I want to add some icons on my .html work. i tried to do like this, for example: <span class="icon-home"></span> (but nothing show) Anyone can help me please? Thanks …
  • Member Avatar for mattster
    mattster

    Replied To a Post in Adding icons

    Dont forget to take a look at the [font awesome](http://fortawesome.github.io/Font-Awesome/icons/) library! To use it, shove this in your `<head>` section: <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> Then do this wherever you want to …
  • Member Avatar for mattster
    mattster

    Began Watching Laravel 5

    Anybody using L5 yet? Just got to grips with 4.2 and thought I had it cracked. L5 was a shock. The "simplicity" of 4.2 has disappeared IMO. The documentation sucks …

The End.