- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 7
- Posts with Downvotes
- 4
- Downvoting Members
- 7
225 Posted Topics
you can create a dynamic link on the bases of field name,id like you have project.php and there are three projects in db e.g fetch from db and put in a variable [code=php]$project_name='english'; $project_name='math'; $project_name='science';[/code] for three courses saved in database now you want to show details on project.php with …
this could help you [CODE] <?php // htmlviewer.php // convert a Word doc to an HTML file //$DocumentPath = str_replace("\\", "\", $DocumentPath); $DocumentPath="C:/Archivos de programa/Easyphp/www/subidas/curric.doc"; // create an instance of the Word application $word = new COM("word.application") or die("Unable to instantiate application object"); // creating an instance of the Word …
dont use ECHO function before using header. otherwise it will give error as you are saying.
this can be helpful for you [url]http://www.nbill.co.uk/documentation/payment-gateway-development.html[/url]
this could help you [url]http://www.sawmac.com/mamp/[/url]
i am giving an idea [CODE]$current_month=date('m'); $current_year=date('Y'); [/CODE] apply if condition that if current month is greater than one and less and equal to 12 then [CODE]$lastmonth=$current_month-1;[/CODE] offcource the first date will be 1st and you can take end date as [CODE] $firstdate= "01/".$lastmonth."/".$current_year ; $lastdateofmonth=date('t',$lastmonth);// this function will give …
have a look [url]http://www.php.net/function.mysql-connect[/url]
if your config file is inside any other folder then use the path as root dirctory/innerfolder/config.php but if the config file is outer folder and the file in which u r including config like then use as ../folder/config.php its just an exmple.
could you show ur code?
yes link exchange is helpful to increase the traffic and its not the black hat if you are using it with mutual understanding or give and take rule.
you can use javascript function when you want to apply any check but in case of php function you have to submit your page
Install wamp or easy php, that will give you full package and easy to use.
try following changes [CODE]use $Job = isset($_REQUEST["jobselect"]); insted of $Job = isset($_POST["jobselect"]); [/CODE] echo your query and run it in mysql editor. see are you fetching recoding correctly
I want to show some description of my blog post at home page and a read more link when user will click that link it will redirect to post detail page. I am using the_content('Read More...') function. Now how can i give character limit that how many character i want …
this could help you [url]http://www.sitepoint.com/article/image-resizing-php/[/url]
hi, I have a simple website having russian content, but its not displaying right in website. I am using even following meta tags [CODE]<html lang="ru"> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="content-language" content="ru"> [/CODE] But still question marks are there. Please help me regarding this issue thanks in advance
Use Update query... [CODE]mysql_query("update book set hometel='$edit_hometel',worktel='$edit_worktel',fax1='$edit_fax1',fax2='$edit_fax2',pobox='$edit_pobox',email='$edit_email' where name='$name' and hometel='$htel'");[/CODE]
hello, I had a fckeditor at my php page, i want to put some data in fck editor when user click a button. How can i do that using javascript. Please help
I am member of daniweb since last 2 and half years. That was very good when i joined this. But now its just rubbish here. No one try to help others. I had post 5 different threads but i didnt find any solid suggesstion, any sound solution. In my following …
hi, I am trying to upload picture using PHP. I made this title because if the thread contains title with tough problem, no one even open thread and try to help. Actualy i have problem in picture uploading, but critic part is that my code is at one site and …
hi, The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website [url]www.bathroomfurniturestore.co.uk[/url] Please …
hi, The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website [url]www.bathroomfurniturestore.co.uk[/url] Please …
hi I am trying to configure PBS payment gateway with osCommerce. but its not working. :( Can any one help me?
I think this kind of advertisements are not allowed between other threads.
You can assign ID to your text fields. Hide those fields as default and when you click any option show your required field by using javascript.
I agree with above examples...
can you please explain your question. also attach your code.
try following php code [CODE]<?php if($_POST) { $fruit=isset($_POST["apple"]) ? $_POST["apple"]:""; if(isset($_POST["bananan"])) { if(!empty($fruit)) { $fruit.=", "; $fruit.=$_POST["bananan"]; } } if(isset($_POST["orange"])) { if(!empty($fruit)) { $fruit.=", "; $fruit.=$_POST["orange"]; } } print"your faviours fruit is:".$fruit; } ?>[/CODE]
try following logic [CODE]if($a%4==0) { ?> <div class="result"><p> <? $results .=''.$result.''; ?> </p></div> <? }[/CODE]
take your checkbox as an array. use same name for a group of checkboxes and then retrieve respective value using foreach loop
see wordpress site and blog. all the help is there
u can also try [CODE]$replace = "#\[vimeo[^\]]+*+)\]#is";[/CODE]
You must be giving a link to paypal to send their notification. At that file apply download code. As user will complete its payment process it will be redirected to that page and then a download file box will appear to save downloading file.
i also agree. you should put your request/post value into any variable and then use it. dont put it directly.
display your query and check if your condition is true. Browser can never effect on programming like php. It just can effect javascript, HTML or CSS.
you have to manage a log table in your database. And after execution of any query you have to enter that query string in your log table with other information like IP address ect.
[url]http://php.net/manual/en/function.file-get-contents.php[/url]
jquery is good option. PHP need to submit page.
what editor your are using? Most of the editors provides you to add smilly emoticons like fck editor.
Use follwoing query [CODE]SELECT * FROM * WHERE * LIKE '%your_search_string%' [/CODE]
use it as [CODE] <? $mydate= date('Y-m-d m:i:s'); OR $mydate= gmdate('Y-m-d m:i:s'); ?> [/CODE] and use $mydate variable where you want to use.
following link may help you [url]http://www.filebuzz.com/files/Php_Rss_Feed_Script/1.html[/url]
You are absolutely right harshbavaliya
The End.
BzzBee