Search found 11 matches
- Mon Nov 17, 2008 7:35 am
- Forum: PHP - Code
- Topic: PHP code highlighting
- Replies: 2
- Views: 290
Re: PHP code highlighting
thanks Jaxolotl
- Mon Nov 17, 2008 6:42 am
- Forum: PHP - Code
- Topic: PHP code highlighting
- Replies: 2
- Views: 290
PHP code highlighting
Hello Can somebody tell me how to highlight PHP code in a string which comes form database and how to make links to all the PHP functions in that string. This method use in blogs or PHP tutorial websites like this one: http://phpsense.com/php/php-pagination-script.html where the PHP code is properly...
- Tue Nov 11, 2008 9:33 am
- Forum: PHP - Code
- Topic: How to disable double registration for the same user
- Replies: 1
- Views: 119
How to disable double registration for the same user
Hello Experts
I am new to PHP and tries to develop a site where a user can make an account to view the contents of the site. I want that one user will have only one account and if he tries to create another one he should be warned. What is the best solution for this.
I am new to PHP and tries to develop a site where a user can make an account to view the contents of the site. I want that one user will have only one account and if he tries to create another one he should be warned. What is the best solution for this.
- Mon Jun 02, 2008 9:35 am
- Forum: Databases
- Topic: MySQL connection problems using php
- Replies: 3
- Views: 385
Re: MySQL connection problems using php
use the following one. <?php define("HOST","localhost"); define("USER_NAME","patric"); define("PWD",":depash"); if($conn = mysql_connect(HOST, USER_NAME, PWD)) { print "Connected"; } else { die("Cannot connect ...
Re: Need help
Thanks to all
Need help
Hello
I want to get all rows from a table where "Title" column beginning with any number. What should I use in Like operator. I am using MySql.
thanks.
I want to get all rows from a table where "Title" column beginning with any number. What should I use in Like operator. I am using MySql.
thanks.
- Wed Apr 02, 2008 7:10 am
- Forum: PHP - Code
- Topic: How to protect directoy
- Replies: 3
- Views: 244
How to protect directoy
Hello
I have a folder on my website. How to restrict that folder, so the user cant download something from that folder directly.
I have a folder on my website. How to restrict that folder, so the user cant download something from that folder directly.
- Wed Jan 30, 2008 8:11 am
- Forum: PHP - Code
- Topic: Image metadata information
- Replies: 1
- Views: 159
Image metadata information
Is there a library, or some code that I can use to extract information from the metadata inside an image file (JPEG/GIF) - the information that stores Title, Subject, Comments, Author, etc?
thanks
thanks
- Thu Jan 17, 2008 6:49 am
- Forum: PHP - Code
- Topic: Please help me
- Replies: 4
- Views: 215
Re: Please help me
Thanks VladSun
greate job!!!!!!!!!!!
it works
greate job!!!!!!!!!!!
it works
- Thu Jan 17, 2008 6:07 am
- Forum: PHP - Code
- Topic: Please help me
- Replies: 4
- Views: 215
Re: Please help me
Thanks VladSun
But my question is why the same result resource does not return any row in the second loop,
or I have to query again to create new result resource?
But my question is why the same result resource does not return any row in the second loop,
or I have to query again to create new result resource?
- Thu Jan 17, 2008 5:32 am
- Forum: PHP - Code
- Topic: Please help me
- Replies: 4
- Views: 215
Please help me
Hello to All I m new to PHP and Mysql, I have a problem plz help me. my question is how to display rows from result resource in second loop, my script is like: $_parent_id=$_GET['parent_id']; if(!isset($_parent_id) OR $_parent_id==0){ $_parent_id=0; } $sql="SELECT * FROM menu WHERE parent_id=&q...