- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 11
- Posts with Upvotes
- 10
- Upvoting Members
- 11
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
88 Posted Topics
Re: I did that when I was still in school and long forgotten. Maybe you can try: [url]http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html[/url] | |
![]() | Re: [CODE] <script> var text1 = "abc"; var text2 = "def"; document.write(text1 + text2); </script> [/CODE] |
Re: Print out your $sql and run it independently in PHPMyAdmin or other MySQL applications.. | |
Re: You can print_r($rcvr) as well as echo $sql to debug.. If you need help, post the results here.. | |
Re: how about the page prior to reaching the activated page? | |
Re: The most basic form would be.. SELECT * FROM <table name> WHERE category = 'wtshirt'; | |
Re: Hope this is the one: http://wordpress.org/extend/plugins/text-captcha/ | |
Re: Why a form button for redirection? You can use hyperlink/images/button(not form) instead. ![]() | |
Re: Problem should lie with your ' symbol. Maybe you can do one step at a time. Easier for debugging as well. while ($row = mysql_fetch_assoc($result)) { $value = $row['rcvr_id']; //you can check the output if it doesn't work echo "<input id='$value' type='checkbox' name='rcvr[]' value='$value'>$value<br>"; } | |
Re: I think it's the ' symbol. Put the value of your $_POST data in another variable. Or try escaping characters. | |
Re: Basically it's just a notice. It still works but it is expecting the 2 values to pass from the previous page. I believe it works when you hit the "Send feedback!" button and the error appears only when you first load the page. You can add some kind of validation … | |
Re: please let us know the exact error message you are receiving. | |
Re: <?php include('connect-db.php'); // get value of id that sent from address bar // get data from db $getid = $_GET['int']; // Retrieve data from database $sql=mysql_query('SELECT * FROM claim WHERE int = "' . $getid . '"'); while ($row = mysql_fetch_assoc($sql)) { $agentdb = $row['agent']; $cardpullerdb = $row['cardpuller']; $datedb = … ![]() | |
Re: You can try curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); makes the curl return data instead of output. | |
Re: I'm not sure whether $_Session is the same as $_SESSION. I've been use the latter forever. Also, you may want to output the $_Session['serializedArray'] in your first page. Just to ensure the data is really stored. | |
Re: You can use HTML tags within `echo "<font color='yellow'>This is some text!</font>"` | |
Re: probably the `$_POST['option']` comes back as a string. change line 4 to if (strcasecmp($a, "true")==0) or simply echo $a and see what's the value and recreate the if-else statement. | |
Re: turn on error_reporting and also try to run the output of $sql directly in phpmyadmin or your MySQL application see if it inserts without error. | |
Re: <form method="post" action="<?php echo $_SERVER['PHP_SELF']?>"> | |
Re: you can try to log the speed at different lines of your code. slowly narrow down to the function that takes the most time. | |
Re: Why not execute SQL on $_POST instead? if ($_POST) { //Connection to DB //Execute Query } | |
Re: check and compare $encryptpass and the value for employee.pswrd | |
Re: If you are talking about the client Mac address, you can only do it on devices connected to your network, using php_exec() | |
Re: I'm guessing implode doesn't do anything since $patient is not an array. | |
Re: Yea. All you did was collecting the data input. Additional resources on mail() @ http://php.net/manual/en/function.mail.php | |
Re: test your mail() function first perhaps. | |
Re: You might want to look into JOIN. So basically your query would have a condition where suppliers.supplier_id = orderitems.supplier_id | |
Re: I'm thinking if what he wants is a checkbox that takes effect upon selection, without a submit button.. | |
Re: Radio buttons are usually for single selection. Checkboxes for multiple. You can still use radio buttons but you cannot group them with the same name. | |
Re: You can just submit the array? I'm not sure about this but you can separate the email addresses with a "," for multiple recipients. And if they email addresses should remain as private, BCC as Squidge suggested. | |
Re: [url]http://www.w3schools.com/html/tryit.asp?filename=tryhtml_link_locations[/url] Who's the thief? | |
Re: looks fine. can u comment that line and see if the error goes to the next line instead? | |
Re: I think you can do it with [CODE]mysql_query("UPDATE sales_roadshow1 SET evnt_title = '$this_event_title' WHERE evnt_id = '$this_event_id'");[/CODE] | |
Re: I think if you are inserting into all the columns, you only need [CODE]insert into tbl ('$requested')[/CODE] otherwise, you should specify the columns [CODE]insert into tbl ('columns') values ('$requested')[/CODE] not exactly sure. | |
Re: you can use <noscript> tag to test for javascript and use javascript to test for cookies. | |
Re: Different frameworks have different strengths and weaknesses. I guess you should consider your objective of your web application and determine which one suits you best. There are also quite a few articles which compares the top frameworks if you search for them on the web. I personally have used CodeIgniter … | |
| |
Re: apart from $_POST which madCoder, it looks perfectly fine. Is your PHP installation configured to send mail? | |
Re: Why don't you do this is PHP? You can sum them as you query. | |
Re: If your question is on whether if it is possible, then yes. but how to go about achieving that I think there are many ways. pop-up? form appear in a div below? can be achieved one way or another.. | |
Re: It is because you are urlencode-ing the "&" and "=" | |
Re: this should work. [CODE] <?php $var = "This is the title"; ?> <a href="http://www.example.com" title="<?=$var?>"> [/CODE] | |
Re: PHP have some filters inbuilt. you might want to check it out first - [url]http://sg2.php.net/manual/en/function.filter-list.php[/url] | |
Re: When you retrieve b_avail and create the button, set the rules the if the book is unavailable, button is disabled. |
The End.