106 Posted Topics
Re: like dany said, ypu must have strong OOP concepts and some other concepts like MVC and ORM to build your own framework. Its better to build a framework for PHP in PHP, but like fusebox, its the coldfusion framework and also used for PHP. I personaly like Kohana (fork of … | |
Re: is it redirecting to any oter page or giving some error?? share your error also | |
i have following .htaccess RewriteEngine On DirectoryIndex index.php RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)/([^/]+)?$ index\.php?page=$1&s=$2&o=$3 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)?$ index\.php?page=$1&s=$2 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/?$ index\.php?page=$1 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})?$ index\.php?page=$1 [L] ErrorDocument 404 /404 it displays mu url as localhost/mysite/home for first perimeter and its going fine but when my url is localhost/mysite/home/user, whole look of page … | |
Hi all I am trying to show a comment box under each post, i have tried [code]<?php get_template_part( 'content', 'single' ); ?> <?php comments_template( '', true ); ?> [/code] but the comment box is still invisible | |
Hi all I am working on a website and the requirement is to make it in two languages i.e. icelandic and english. just like facebook and other google, if a user selects a language, then the site is translated in that language. I am not allowed to use google translator. … ![]() | |
Hi all I have following table structure [CODE] pk_cat_id(int) cat_name(varchar) cat_desc(text) fk_cat_id(int) [/CODE] table is self related as one to many i want to select cat_name, cat_desc and parent_cat_name() i.e. from fk_cat_id, how i can get cat_name | |
Re: its obvious you cannot, because you are echoing $branch in name tag :) | |
Re: options are available in phpmyadmin for altering the table i.e. look for operations tab | |
Re: without looking at your code, check if you have properly redirecting the page [CODE]if(login_condition_is_true){header('location:admin_home.php')}[/CODE] | |
Re: where you are listing hyperlinks, you can try this [CODE]www.daniweb.com/<?php echo $user_name;?>[/CODE] this will take you to user profile page for each user | |
Re: remove value attribute from input tag also try[CODE]document.getElementById('some_id').getValue()[/CODE] | |
Re: just put that php code in your form, it should work fine unless and until there is any db or syntax error ![]() | |
Re: it seems ok have you included your connection file correctly? ![]() | |
Re: [QUOTE=cherrya;1759325]Hello, any body can help me, i've try to show field textarea, but can't.. help me please.. herewith code: [CODE]<textarea type="text" name="alamat" rows="5" cols="40" value="<?php $_POST['$alamat']; ?>" /></textarea>[/CODE][/QUOTE] try [CODE]<textarea .......><?php echo $_POST['alamat'];?></textarea>[/CODE] | |
Re: change the action of your form and on process page, type [CODE]echo "<pre>"; print_r($_POST); exit;[/CODE] and share what you get | |
Re: i guess that your scenario is that you are updating 2nd table after inserting in 1st table??? try [CODE]mysql_info()[/CODE] | |
Re: [CODE]<input type="submit">[/CODE] always submits the form regardless of any javascript validation you should try [CODE]<input type="button" on click="checkValidation()">[/CODE] and then submit your form using javascript[CODE]form.submit()[/CODE] function | |
Hi all i am new to Node.js i followed the tutorial and typed the following [CODE]var sys = require("util"), http = require("http"); http.createServer(function(request, response) { response.sendHeader(200, {"Content-Type": "text/html"}); response.write("Hello World!"); response.close(); }).listen(8080); sys.puts("Server running at http://localhost:1331/");[/CODE] its running fine while i run it through cmd but when i open my … | |
Re: try this[CODE]include_once('action/Upload.php');[/CODE] | |
hi all i am new to java i want to run java php bridge as described [URL="http://php-java-bridge.sourceforge.net/doc/tomcat6.php"]here[/URL] now i am getting the following error [CODE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could … | |
Re: Tried your code but unable to locate the problem you should try some other example | |
Re: while starting session [CODE]$_SESSION['is_logged_in']['true'][/CODE] and on download page, you can check [CODE] if($_SESSION['is_logged_in']=='true') { do some download work } [/CODE] | |
Hi all how i can put a watermark on a HTML div?? | |
Re: This problem occurs if your jQuery is not included correctly, also confirm the inclusion of your jQuery file | |
Re: try [CODE] <img src="img.jpg" onClick="window.open('http://www.daniweb.com')" /> [/CODE] i think it should work fine | |
Re: install wamp, xampp or any other web server in your machiene put your site folder in /www (if wamp) or /htdocs(if xampp) start the server type url in your browser i.e. [url]http://localhost/yoursite[/url] | |
Re: Try [CODE] SELECT *, MAX(Calibration_Due_Date) FROM equipment_calibration WHERE `Calibration_Due_Date`<= ADDDATE(CURDATE(), INTERVAL 14 DAY)[/CODE] | |
Hi all i want to check regular expression of a text field value i.e. it should not contain any '.,@' and other special characters except '_' and '-'. How can i write my rule in [code]preg_match()[/code] ? | |
Re: it seems that you are unseting the session on next page | |
Re: try using [CODE]mysql_insert_id()[/CODE] instead of where you are selecting from the table after inserting in it | |
| |
Re: if you have that file in pdf format then try this [CODE]<a href"link to the file.pdf">Read me</a>[/CODE] and if you don't have the file then [URL="http://www.fpdf.org/"]http://www.fpdf.org/[/URL] will be helpfull to you | |
Re: if you have already taken java classes, then you should learn java, but market is all about Php, java is highly paid but with very less job market. where as Php have a huge job market | |
Hi all What is ORM (Object Relational Mapping)? I have just heared the name ORM, but don't know what it does :) | |
how string comparison is done in php? i wan to copmpare two strings and result i want is the same letters in both strings? any help plz | |
Hi all i am new to kohana 3.2.x i used to work on kohana 2.3.x the directory structure is not same in both cases so i am getting problem while posting my form to any controller. [CODE] <form action="<?php echo url::base();?>admin/validateLogin" method="post"> <h3>Enter Your Credentials:</h3> <fieldset> <p><label>Email:</label><input type="text" name="email" /></p> … | |
hi all i am unable to download files from live server. but it works fine on development server. is there any server issue with it? do i have to unable or set any extension in phpmyadmin or php.ini? | |
Re: [URL="http://ckeditor.com/demo"]http://ckeditor.com/demo[/URL] you can try this one but if you have ever worked on some wiki, wiki uses WYSWIG text editor. | |
hi all i want to create facebook like iamge gallery in my website. i.e. as facebook displayes images, i want to display images in the same way in my website | |
Re: plz clear ur question u r telling a flow whats the question? | |
Re: as im understading, u r getting the mail like this <html> <body> <p>name:</p> <p>email:</p> </body> </html> is it so??? | |
hi all i am new to kohana i am getting the following error "Fatal error: Cannot redeclare class Session_Core in C:\xampp\htdocs\admin\system\libraries\Session.php on line 12" plz help me to correct it i am in a big trouble |
The End.