• Member Avatar for pritaeas
    pritaeas

    Stopped Watching connecting php thorugh MSSql 2008

    Hi Friend I am trying to connect my MSSql server 2008 R2 server using php. I am getting an error as below `Fatal error: Call to undefined function sqlsrv_connect() in …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching connecting php thorugh MSSql 2008

    Hi Friend I am trying to connect my MSSql server 2008 R2 server using php. I am getting an error as below `Fatal error: Call to undefined function sqlsrv_connect() in …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in connecting php thorugh MSSql 2008

    Check your PHP.INI to see if the SQL Server extension is enabled.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching help with preg_replace_callback function

    hi there, this is my class that uses preg_replace_callback I know that when this function used in class i do like that **preg_replace_callback('|(\d{2}/\d{2}/)(\d{4})|',array(&$this, 'next_year'), $text); ** but i dont understand …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching help with preg_replace_callback function

    hi there, this is my class that uses preg_replace_callback I know that when this function used in class i do like that **preg_replace_callback('|(\d{2}/\d{2}/)(\d{4})|',array(&$this, 'next_year'), $text); ** but i dont understand …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help with preg_replace_callback function

    The `&` referencing is something that predates PHP5 and it's use is now no longer needed.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching unable to retrieve multiple image from mysql

    please help me to display the multiple image from mysql this id my file for uploading multiple image $valid_formats = array("jpg", "jpeg", "png", "gif", "zip", "bmp", "pdf", "doc", "docx"); $max_file_size …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching unable to retrieve multiple image from mysql

    please help me to display the multiple image from mysql this id my file for uploading multiple image $valid_formats = array("jpg", "jpeg", "png", "gif", "zip", "bmp", "pdf", "doc", "docx"); $max_file_size …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in unable to retrieve multiple image from mysql

    Looks like you upload the path into the table, so you should just output echo "<img src=\"{$row['photos']}\"/>";
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Link underline

    http://www.daniweb.com/web-development/php/threads/470495/trim-content#post2052543 I see the link in the code as strikethrough (Win7/IE11). Image attached. ![0ab8e0c6fc92294cb65c942ed5249b0b](/attachments/large/0/0ab8e0c6fc92294cb65c942ed5249b0b.png "0ab8e0c6fc92294cb65c942ed5249b0b")
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Link underline

    http://www.daniweb.com/web-development/php/threads/470495/trim-content#post2052543 I see the link in the code as strikethrough (Win7/IE11). Image attached. ![0ab8e0c6fc92294cb65c942ed5249b0b](/attachments/large/0/0ab8e0c6fc92294cb65c942ed5249b0b.png "0ab8e0c6fc92294cb65c942ed5249b0b")
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Link underline

    http://www.daniweb.com/web-development/php/threads/471398/php-mail-not-working#post2057478 Parenthesis break regular links.
  • Member Avatar for pritaeas
    pritaeas

    Created API token time-out

    I thought this was discussed somewhere, but I can't find the thread. I've updated my authorization to the one you gave me Dani. If I now start my DwArticleWatch after …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching API token time-out

    I thought this was discussed somewhere, but I can't find the thread. I've updated my authorization to the one you gave me Dani. If I now start my DwArticleWatch after …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Search query

    Hallo, I am trying to fix my mysql search query: $data = mysql_query("SELECT * FROM static_content WHERE upper(image) or upper(title) or upper(content) LIKE'%$find%'"); Please help me to fix it. Is …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Search query

    Hallo, I am trying to fix my mysql search query: $data = mysql_query("SELECT * FROM static_content WHERE upper(image) or upper(title) or upper(content) LIKE'%$find%'"); Please help me to fix it. Is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Search query

    > Is that correct? Yes. Apart from that. In most cases comparisons in queries are case-insensitive, so you could probably do without `UPPER()`
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching transfer variable value to another

    <div> <?php include 'connect.php'; if(isset($_GET['id'])){ $page_id = $_GET['id']; $select_query = "SELECT * FROM articles WHERE articles_id='$page_id'"; $run_query = mysql_query($select_query); while($row=mysql_fetch_array($run_query)){ $articles_id = $row['articles_id']; $articles_date = $row['articles_date']; $articles_title = $row['articles_title']; $articles_category …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching how to remove error from php

    how can I remove error messages without modify php.ini file
  • Member Avatar for pritaeas
    pritaeas

    Began Watching how to remove error from php

    how can I remove error messages without modify php.ini file
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in how to remove error from php

    `ini_set()` function can override values set in PHP.INI
  • Member Avatar for pritaeas
    pritaeas

    Began Watching transfer variable value to another

    <div> <?php include 'connect.php'; if(isset($_GET['id'])){ $page_id = $_GET['id']; $select_query = "SELECT * FROM articles WHERE articles_id='$page_id'"; $run_query = mysql_query($select_query); while($row=mysql_fetch_array($run_query)){ $articles_id = $row['articles_id']; $articles_date = $row['articles_date']; $articles_title = $row['articles_title']; $articles_category …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in transfer variable value to another

    `$com_art_id` never gets a value.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching how to remove error from php

    how can I remove error messages without modify php.ini file
  • Member Avatar for pritaeas
    pritaeas

    Began Watching how to remove error from php

    how can I remove error messages without modify php.ini file
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in how to remove error from php

    Fix the problems. Anything in specific?
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching I'm Not Sure What it's Called

    I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files. This will keep everything tidier, cleaner, more organized, reusable …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching I'm Not Sure What it's Called

    I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files. This will keep everything tidier, cleaner, more organized, reusable …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I'm Not Sure What it's Called

    If you do not want to go OOP just yet, you can divide your code into logical functions and separate them into include files. Basically that's the first step, whether …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Twitter-like system - Following other users

    How to follow and unfollow users? With following code, list of users appears. containing link to action.php If not following anyone goto action.php to follow that user from list or …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Twitter-like system - Following other users

    How to follow and unfollow users? With following code, list of users appears. containing link to action.php If not following anyone goto action.php to follow that user from list or …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Twitter-like system - Following other users

    Please do NOT bump threads. What have you tried? Just executing a query in your loop shouldn't be hard. You still haven't shown us how your data looks.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Search query

    Hallo, I am trying to fix my mysql search query: $data = mysql_query("SELECT * FROM static_content WHERE upper(image) or upper(title) or upper(content) LIKE'%$find%'"); Please help me to fix it. Is …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Search query

    Hallo, I am trying to fix my mysql search query: $data = mysql_query("SELECT * FROM static_content WHERE upper(image) or upper(title) or upper(content) LIKE'%$find%'"); Please help me to fix it. Is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Search query

    http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Link underline

    http://www.daniweb.com/web-development/php/threads/470495/trim-content#post2052543 I see the link in the code as strikethrough (Win7/IE11). Image attached. ![0ab8e0c6fc92294cb65c942ed5249b0b](/attachments/large/0/0ab8e0c6fc92294cb65c942ed5249b0b.png "0ab8e0c6fc92294cb65c942ed5249b0b")
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Link underline

    http://www.daniweb.com/web-development/php/threads/470495/trim-content#post2052543 I see the link in the code as strikethrough (Win7/IE11). Image attached. ![0ab8e0c6fc92294cb65c942ed5249b0b](/attachments/large/0/0ab8e0c6fc92294cb65c942ed5249b0b.png "0ab8e0c6fc92294cb65c942ed5249b0b")
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Link underline

    http://www.daniweb.com/web-development/threads/471377/php-mysql-remove-weekends-from-query#post2057140 Sure it's not the link checker?
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching PHP MySQL remove weekends from query

    Hi All, I'm battling to get this query to work. I have a select form that allows user to select dates. When he submits it it needs to remove weekends …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching PHP MySQL remove weekends from query

    Hi All, I'm battling to get this query to work. I have a select form that allows user to select dates. When he submits it it needs to remove weekends …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP MySQL remove weekends from query

    http://php.net/manual/en/function.date.php `date('w', $NewDate)` returns 0 through 6, so you exclude 0 (sunday) and 6 (saturday).
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Newbie Question on Null Values

    I am new to ASP.Net and am building an MVC project in VS2013 I have the following actionResult public ActionResult Index() { LaundryUsers db = new LaundryUsers(); var users = …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Newbie Question on Null Values

    I am new to ASP.Net and am building an MVC project in VS2013 I have the following actionResult public ActionResult Index() { LaundryUsers db = new LaundryUsers(); var users = …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Newbie Question on Null Values

    Hard to say. Code looks fine. I suggest you break on line 4 and check whether `db.Laundries` contains any value at all.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Search query

    Hallo, I am trying to fix my mysql search query: $data = mysql_query("SELECT * FROM static_content WHERE upper(image) or upper(title) or upper(content) LIKE'%$find%'"); Please help me to fix it. Is …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Search query

    Hallo, I am trying to fix my mysql search query: $data = mysql_query("SELECT * FROM static_content WHERE upper(image) or upper(title) or upper(content) LIKE'%$find%'"); Please help me to fix it. Is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Search query

    No, it's not correct. You need `LIKE` after every column, unless you concatenate them first.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching I'm Not Sure What it's Called

    I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files. This will keep everything tidier, cleaner, more organized, reusable …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching I'm Not Sure What it's Called

    I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files. This will keep everything tidier, cleaner, more organized, reusable …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I'm Not Sure What it's Called

    It's a modular approach. However, perhaps since you are redesigning anyway, you can try an [Object Oriented](http://www.daniweb.com/web-development/php/tutorials/437592/introduction-to-phps-object-orientation) approach.

The End.