106 Posted Topics

Member Avatar for dany12
Member Avatar for Mxlfa

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 …

Member Avatar for baig772
0
173
Member Avatar for j23

is it redirecting to any oter page or giving some error?? share your error also

Member Avatar for baig772
0
157
Member Avatar for baig772

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 …

Member Avatar for pritaeas
0
108
Member Avatar for baig772

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

Member Avatar for simplypixie
0
203
Member Avatar for baig772

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. …

Member Avatar for diafol
0
126
Member Avatar for baig772

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

Member Avatar for baig772
0
109
Member Avatar for cskinittest
Member Avatar for baig772
0
148
Member Avatar for himanshu.1691
Member Avatar for shielaolid
Member Avatar for super-duper
Member Avatar for anthonyjpv
Member Avatar for anthonyjpv

options are available in phpmyadmin for altering the table i.e. look for operations tab

Member Avatar for baig772
0
78
Member Avatar for simirnov

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]

Member Avatar for baig772
0
64
Member Avatar for Trizocy

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

Member Avatar for jkon
0
147
Member Avatar for FALL3N

remove value attribute from input tag also try[CODE]document.getElementById('some_id').getValue()[/CODE]

Member Avatar for FALL3N
0
215
Member Avatar for loudube

just put that php code in your form, it should work fine unless and until there is any db or syntax error

Member Avatar for diafol
0
89
Member Avatar for Artix123
Member Avatar for diafol
0
104
Member Avatar for lifetalk

[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]

Member Avatar for baig772
0
194
Member Avatar for cherrya

change the action of your form and on process page, type [CODE]echo "<pre>"; print_r($_POST); exit;[/CODE] and share what you get

Member Avatar for baig772
0
586
Member Avatar for anthonyjpv

i guess that your scenario is that you are updating 2nd table after inserting in 1st table??? try [CODE]mysql_info()[/CODE]

Member Avatar for pritaeas
0
89
Member Avatar for dancks

[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

Member Avatar for baig772
0
364
Member Avatar for baig772

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 …

Member Avatar for baig772
0
252
Member Avatar for baruchM
Member Avatar for baig772

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 …

Member Avatar for NormR1
0
714
Member Avatar for tqmd1

Tried your code but unable to locate the problem you should try some other example

Member Avatar for ko ko
0
145
Member Avatar for INF-P

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]

Member Avatar for INF-P
0
207
Member Avatar for baig772
Member Avatar for kimmi_baby

This problem occurs if your jQuery is not included correctly, also confirm the inclusion of your jQuery file

Member Avatar for baig772
0
2K
Member Avatar for SolidSolutions

try [CODE] <img src="img.jpg" onClick="window.open('http://www.daniweb.com')" /> [/CODE] i think it should work fine

Member Avatar for SolidSolutions
0
362
Member Avatar for Riteman

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]

Member Avatar for minitauros
0
203
Member Avatar for latinunit.net
Member Avatar for baig772
0
100
Member Avatar for JukesK

Try [CODE] SELECT *, MAX(Calibration_Due_Date) FROM equipment_calibration WHERE `Calibration_Due_Date`<= ADDDATE(CURDATE(), INTERVAL 14 DAY)[/CODE]

Member Avatar for baig772
0
207
Member Avatar for baig772

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] ?

Member Avatar for baig772
0
156
Member Avatar for subrata_ushasi
Member Avatar for anthonyjpv

try using [CODE]mysql_insert_id()[/CODE] instead of where you are selecting from the table after inserting in it

Member Avatar for baig772
0
92
Member Avatar for anthonyjpv
Member Avatar for baig772
0
95
Member Avatar for mombasageek

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

Member Avatar for mombasageek
0
58
Member Avatar for bo0ga

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

Member Avatar for Mehmaan
0
302
Member Avatar for baig772

Hi all What is ORM (Object Relational Mapping)? I have just heared the name ORM, but don't know what it does :)

Member Avatar for chrishea
0
105
Member Avatar for labise
Member Avatar for baig772

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

Member Avatar for baig772
0
106
Member Avatar for baig772

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> …

Member Avatar for fobos
0
226
Member Avatar for baig772

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?

Member Avatar for baig772
0
109
Member Avatar for mehdi.yazdani

[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.

Member Avatar for baig772
0
128
Member Avatar for baig772

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

Member Avatar for mathieu89
0
78
Member Avatar for BubblesBrian
Member Avatar for raptr_dflo
0
115
Member Avatar for baig772
Member Avatar for baig772
0
93
Member Avatar for xofth

as im understading, u r getting the mail like this <html> <body> <p>name:</p> <p>email:</p> </body> </html> is it so???

Member Avatar for cwarn23
0
336
Member Avatar for baig772

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

0
72

The End.