Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
85% Quality Score
Upvotes Received
11
Posts with Upvotes
10
Upvoting Members
11
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
4 Endorsements
Ranked #397
Ranked #464
~63.2K People Reached
Favorite Tags

88 Posted Topics

Member Avatar for andyy121
Member Avatar for abhi10kumar

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]

Member Avatar for Muhsin Mohamed
0
8K
Member Avatar for kirtan_thakkar

[CODE] <script> var text1 = "abc"; var text2 = "def"; document.write(text1 + text2); </script> [/CODE]

Member Avatar for msnadz
0
3K
Member Avatar for kitschkath

Print out your $sql and run it independently in PHPMyAdmin or other MySQL applications..

Member Avatar for kitschkath
0
253
Member Avatar for HasNor

You can print_r($rcvr) as well as echo $sql to debug.. If you need help, post the results here..

Member Avatar for harshita317
0
158
Member Avatar for andyy121
Member Avatar for andyy121
0
236
Member Avatar for anand01

The most basic form would be.. SELECT * FROM <table name> WHERE category = 'wtshirt';

Member Avatar for anand01
0
203
Member Avatar for kimmi_baby
Member Avatar for kimmi_baby
0
159
Member Avatar for onofej

Why a form button for redirection? You can use hyperlink/images/button(not form) instead.

Member Avatar for diafol
0
1K
Member Avatar for <M/>
Member Avatar for HasNor

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>"; }

Member Avatar for HasNor
0
263
Member Avatar for geneh23

I think it's the ' symbol. Put the value of your $_POST data in another variable. Or try escaping characters.

Member Avatar for geneh23
0
526
Member Avatar for poolean

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 …

Member Avatar for poolean
0
207
Member Avatar for dlmagers
Member Avatar for Javvy
0
174
Member Avatar for ericjw316

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

Member Avatar for diafol
0
451
Member Avatar for farooq82

You can try curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); makes the curl return data instead of output.

Member Avatar for Mona3
0
192
Member Avatar for Mike_H

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.

Member Avatar for Mike_H
0
222
Member Avatar for bLuEmEzzy

You can use HTML tags within `echo "<font color='yellow'>This is some text!</font>"`

Member Avatar for simplypixie
0
161
Member Avatar for Tko_1

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.

Member Avatar for Tko_1
0
288
Member Avatar for cguan_77

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.

Member Avatar for cguan_77
0
268
Member Avatar for joshl_1995
Member Avatar for davy_yg
Member Avatar for davy_yg
0
244
Member Avatar for Khav

you can try to log the speed at different lines of your code. slowly narrow down to the function that takes the most time.

Member Avatar for Khav
0
327
Member Avatar for debal

Why not execute SQL on $_POST instead? if ($_POST) { //Connection to DB //Execute Query }

Member Avatar for simplypixie
0
10K
Member Avatar for bLuEmEzzy
Member Avatar for bLuEmEzzy
0
3K
Member Avatar for thilipdilip

If you are talking about the client Mac address, you can only do it on devices connected to your network, using php_exec()

Member Avatar for Javvy
0
159
Member Avatar for Sanchixx
Member Avatar for Paul7575
Member Avatar for broj1
0
72
Member Avatar for <M/>

Yea. All you did was collecting the data input. Additional resources on mail() @ http://php.net/manual/en/function.mail.php

Member Avatar for <M/>
0
266
Member Avatar for aadil7
Member Avatar for kletig

You might want to look into JOIN. So basically your query would have a condition where suppliers.supplier_id = orderitems.supplier_id

Member Avatar for pritaeas
0
153
Member Avatar for mascot07

I'm thinking if what he wants is a checkbox that takes effect upon selection, without a submit button..

Member Avatar for themastermind
0
110
Member Avatar for aianne

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.

Member Avatar for aianne
0
1K
Member Avatar for tutusaint

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.

Member Avatar for Javvy
0
110
Member Avatar for helloadam

[url]http://www.w3schools.com/html/tryit.asp?filename=tryhtml_link_locations[/url] Who's the thief?

Member Avatar for BuckOneArm
0
915
Member Avatar for Sparhauoc

looks fine. can u comment that line and see if the error goes to the next line instead?

Member Avatar for Sparhauoc
0
131
Member Avatar for erik216

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]

Member Avatar for urtrivedi
0
141
Member Avatar for jacksantho

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.

Member Avatar for vibhaJ
0
294
Member Avatar for vizz

you can use <noscript> tag to test for javascript and use javascript to test for cookies.

Member Avatar for IIM
0
131
Member Avatar for mrcniceguy

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 …

Member Avatar for broswilli
0
2K
Member Avatar for destroyerx15
Member Avatar for RazorRamon

apart from $_POST which madCoder, it looks perfectly fine. Is your PHP installation configured to send mail?

Member Avatar for sharathg.satya
0
232
Member Avatar for madehoney
Member Avatar for rkayd

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

Member Avatar for rkayd
0
189
Member Avatar for newbie14
Member Avatar for legends
Member Avatar for zerey02

this should work. [CODE] <?php $var = "This is the title"; ?> <a href="http://www.example.com" title="<?=$var?>"> [/CODE]

Member Avatar for zerey02
0
151
Member Avatar for mrhankey
Member Avatar for epicrevolt

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]

Member Avatar for epicrevolt
0
197
Member Avatar for yamot47

When you retrieve b_avail and create the button, set the rules the if the book is unavailable, button is disabled.

Member Avatar for yamot47
0
106

The End.