-
Replied To a Post in Twitter-like system - Following other users
Use a `JOIN` on `member_id`. select * from members m, profile p where m.member_id != $user_id and p.id = m.member_id -
Stopped Watching float validation not working
i have a function which is supposed to check if a number is a floating-point number. this is the structure of the function function isValidFloat( $string ){ if( !preg_match( "/^[0-9]+(.[0-9]+)?$/", … -
Began Watching float validation not working
i have a function which is supposed to check if a number is a floating-point number. this is the structure of the function function isValidFloat( $string ){ if( !preg_match( "/^[0-9]+(.[0-9]+)?$/", … -
Replied To a Post in float validation not working
Works for me. What version of PHP are you using? <?php function isValidFloat( $string ){ if( preg_match( "/^[0-9]+(\.[0-9]+)?$/", $string ) ){ return true; } else { return false; } } … -
Stopped Watching float validation not working
i have a function which is supposed to check if a number is a floating-point number. this is the structure of the function function isValidFloat( $string ){ if( !preg_match( "/^[0-9]+(.[0-9]+)?$/", … -
Began Watching float validation not working
i have a function which is supposed to check if a number is a floating-point number. this is the structure of the function function isValidFloat( $string ){ if( !preg_match( "/^[0-9]+(.[0-9]+)?$/", … -
Replied To a Post in float validation not working
http://php.net/is_float Don't know why your regex fails, looks fine at first glance. Your function never returns `true` by the way. -
Stopped Watching Interesting Question / Challenge
I have an interesting challenge and was hoping one of the gurus can assist. I have a program running on a client machine that I need to "trigger". The program … -
Began Watching Interesting Question / Challenge
I have an interesting challenge and was hoping one of the gurus can assist. I have a program running on a client machine that I need to "trigger". The program … -
Replied To a Post in Interesting Question / Challenge
[Message queues](http://msdn.microsoft.com/en-us/library/windows/desktop/ms711472(v=vs.85).aspx) can be used for communication. -
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 … -
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 … -
Replied To a Post in connecting php thorugh MSSql 2008
> If they have control over the server, one of these should work: If you look closely at the OP, this is about SQL Server. -
Stopped Watching Search comma seprated or single value
I want to search all record from database on multiple(comma separate) keyword like php,mysql or php with like . mydatabase record id skill 1 php,java 2 php 3 mysql 4 … -
Began Watching Search comma seprated or single value
I want to search all record from database on multiple(comma separate) keyword like php,mysql or php with like . mydatabase record id skill 1 php,java 2 php 3 mysql 4 … -
Replied To a Post in Search comma seprated or single value
You can use `FIND_IN_SET()`. That would mean if you want to search for `php,mysql` for example, that you need to split that string and build your query. -
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 … -
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 … -
Replied To a Post in connecting php thorugh MSSql 2008
> Give it a shot by using PDO. I think this will work. Even with PDO, you still need the right extensions working first. -
Stopped Watching PHP and MySQL
If I had this: <html> <body> <form action="welcome.php" method="post"> Name: <input type="text" name="name"><br> E-mail: <input type="text" name="email"><br> <input type="submit"> </form> </body> </html> HOW DO I TAKE WHAT SOME TYPE INTO … -
Began Watching PHP and MySQL
If I had this: <html> <body> <form action="welcome.php" method="post"> Name: <input type="text" name="name"><br> E-mail: <input type="text" name="email"><br> <input type="submit"> </form> </body> </html> HOW DO I TAKE WHAT SOME TYPE INTO … -
Replied To a Post in PHP and MySQL
Code sample is [here](http://www.daniweb.com/web-development/php/code/434415/using-phpmysql-with-error-checking). You'll have to create your database and tables, and then adjust the code to what you have. More examples in the "Code Snippets" tab of the … -
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.  -
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.  -
Replied To a Post in Link underline
> the fix is to use Markdown (or the Link button in the editor toolbar) K, then next time I can fix the post. -
Stopped 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 … -
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 … -
Replied To a Post in API token time-out
Haven't used the refresh token yet, and the code is still running. So never mind for now. -
Stopped 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 … -
Replied To a Post in API token time-out
Great. Trying to reproduce, but now it keeps running... 3.5 hours so far. -
Stopped Watching mysql_fetch_assoc Issue
I am using mysql_fetch_assoc to retrieve and display an array; This is what I recieve upon loading the page: *Warning: mysql_fetch_assoc() expects parameter 1 to be resource* I have researched … -
Began Watching mysql_fetch_assoc Issue
I am using mysql_fetch_assoc to retrieve and display an array; This is what I recieve upon loading the page: *Warning: mysql_fetch_assoc() expects parameter 1 to be resource* I have researched … -
Replied To a Post in mysql_fetch_assoc Issue
The error means your query has failed. Add error checking to that to find out more. -
Stopped Watching Categories subcategory. PHP
hello as I could have and I Categories subcategory. PHP For example: Categories - Action / Horror / Comedy series - to be Category Tv Series - Arron / Fringe … -
Began Watching Categories subcategory. PHP
hello as I could have and I Categories subcategory. PHP For example: Categories - Action / Horror / Comedy series - to be Category Tv Series - Arron / Fringe … -
Replied To a Post in Categories subcategory. PHP
That's a lot of code. What exactly are you trying to achieve? What isn't working? -
Stopped Watching Help to slove problem.. Image scrolling effect
Hey i want navigation menu with image ... It means that if in my manu there is 3 button home,serviceses,about us than when onmouseover on that text it shows images … -
Began Watching Help to slove problem.. Image scrolling effect
Hey i want navigation menu with image ... It means that if in my manu there is 3 button home,serviceses,about us than when onmouseover on that text it shows images … -
Replied To a Post in Help to slove problem.. Image scrolling effect
Can you post your code here? -
Stopped Watching Possible Bug?
**I want to report a possible issue/bug**: I just replied to a post, went to look at a tutorial link, came back to the thread I had created/just replied to, … -
Began Watching Possible Bug?
**I want to report a possible issue/bug**: I just replied to a post, went to look at a tutorial link, came back to the thread I had created/just replied to, … -
Replied To a Post in Possible Bug?
Am not sure if it's related, but I get this a lot after manually refreshing the page with F5 (work IE11, home Opera).  -
Stopped Watching Versioning Software
(I am not sure if this is the correct area for this thread - Admin/Mods, please more if necessary. Thank you.) Hello. I write a lot of code. I save … -
Began Watching Versioning Software
(I am not sure if this is the correct area for this thread - Admin/Mods, please more if necessary. Thank you.) Hello. I write a lot of code. I save … -
Replied To a Post in Versioning Software
> I write a lot of code. I save many back-ups, that is, current versions of the code in case I need to roll-back. This can be quite tedious and … -
Edited 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 … -
Stopped Watching Avoiding SQL injection
If someone can provide a link with the use of Parameters instead of concatenation -
Began Watching Avoiding SQL injection
If someone can provide a link with the use of Parameters instead of concatenation -
Replied To a Post in Avoiding SQL injection
http://www.daniweb.com/web-development/php/code/462126/pdo-binding-example http://www.daniweb.com/web-development/php/code/462098/mysqli-binding-example -
Edited php mail function not working with gmail
As title states my php mail function is NOT working with Gmail. However, it does work when sending to other domains such as hotmail and yahoo. I have checked my …
The End.