- 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
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]
[CODE] <script> var text1 = "abc"; var text2 = "def"; document.write(text1 + text2); </script> [/CODE]
Print out your $sql and run it independently in PHPMyAdmin or other MySQL applications..
You can print_r($rcvr) as well as echo $sql to debug.. If you need help, post the results here..
how about the page prior to reaching the activated page?
The most basic form would be.. SELECT * FROM <table name> WHERE category = 'wtshirt';
Hope this is the one: http://wordpress.org/extend/plugins/text-captcha/
Why a form button for redirection? You can use hyperlink/images/button(not form) instead.
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>"; }
I think it's the ' symbol. Put the value of your $_POST data in another variable. Or try escaping characters.
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 …
please let us know the exact error message you are receiving.
<?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 = …
You can try curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); makes the curl return data instead of output.
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.
You can use HTML tags within `echo "<font color='yellow'>This is some text!</font>"`
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.
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.
<form method="post" action="<?php echo $_SERVER['PHP_SELF']?>">
you can try to log the speed at different lines of your code. slowly narrow down to the function that takes the most time.
Why not execute SQL on $_POST instead? if ($_POST) { //Connection to DB //Execute Query }
check and compare $encryptpass and the value for employee.pswrd
If you are talking about the client Mac address, you can only do it on devices connected to your network, using php_exec()
I'm guessing implode doesn't do anything since $patient is not an array.
Yea. All you did was collecting the data input. Additional resources on mail() @ http://php.net/manual/en/function.mail.php
test your mail() function first perhaps.
You might want to look into JOIN. So basically your query would have a condition where suppliers.supplier_id = orderitems.supplier_id
I'm thinking if what he wants is a checkbox that takes effect upon selection, without a submit button..
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.
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.
[url]http://www.w3schools.com/html/tryit.asp?filename=tryhtml_link_locations[/url] Who's the thief?
looks fine. can u comment that line and see if the error goes to the next line instead?
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]
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.
you can use <noscript> tag to test for javascript and use javascript to test for cookies.
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 …
Are you retrieving your check boxes name?
apart from $_POST which madCoder, it looks perfectly fine. Is your PHP installation configured to send mail?
Why don't you do this is PHP? You can sum them as you query.
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..
It is because you are urlencode-ing the "&" and "="
this should work. [CODE] <?php $var = "This is the title"; ?> <a href="http://www.example.com" title="<?=$var?>"> [/CODE]
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]
When you retrieve b_avail and create the button, set the rules the if the book is unavailable, button is disabled.
The End.
Javvy