Forum: VB.NET Nov 24th, 2007 |
| Replies: 1 Views: 9,068 Greetings All, I've been banging my head over this problem for some time, any advice would be greatly appreciated.
I have 5 strings that are pulled from the database. The strings are dynamic so... |
Forum: VB.NET Nov 15th, 2007 |
| Replies: 1 Views: 2,555 I need to save the contents of a richtextbox in a MS Access database, I can get the textbox to change fonts,etc.. but when its saved into the database, all the formatting is removed. Would I need to... |
Forum: PHP Nov 4th, 2007 |
| Replies: 8 Views: 1,090 the browser only calls the php script, it doesn't execute it, the server does. The browser has nothing to do with it, only what the php script gives the browser is what is displayed |
Forum: PHP Nov 3rd, 2007 |
| Replies: 8 Views: 1,090 putting the most likely candidate for the if statement close to the top of the statement may save time and processing power as once the if gets what it needs the rest of the statement is ignored. ... |
Forum: PHP Nov 3rd, 2007 |
| Replies: 11 Views: 1,408 Starting from line 52:
$total_results = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM `twc` WHERE `Account_No` = ".$Account_No),0) or die(mysql_error());
if ($total_results > 0) {
//... |
Forum: PHP Nov 3rd, 2007 |
| Replies: 2 Views: 880 stripslashes($var)
where $var is the variable with the escape slashes added. |
Forum: PHP Nov 3rd, 2007 |
| Replies: 3 Views: 764 Just by using php and html it wouldn't be possible. However it would be possible using ajax and making calls back to the php script to get data. I'm not sure exactly how it works but thats the only... |
Forum: VB.NET Nov 3rd, 2007 |
| Replies: 0 Views: 8,386 I have created an image column in my datagridview and want to populate the grid based on the result of a database query. I'm able to pull the data from the database and populate the fields fine, but... |
Forum: PHP Oct 29th, 2007 |
| Replies: 7 Views: 1,023 Add this code to the bottom of the .php script:
echo '<META HTTP-EQUIV=Refresh CONTENT="30; URL='.$url.'">';
echo "<b><br />emailadd var: " .$emailadd;
echo "<br />subject: ".$subject;
echo... |
Forum: IT Professionals' Lounge Oct 28th, 2007 |
| Replies: 16 Views: 1,976 I use Firefox mostly, mainly because of the tabs at first but now I stick with it. Occasionally I use IE which has tabs now also when the need arises for testing and such. |
Forum: PHP Oct 28th, 2007 |
| Replies: 7 Views: 1,023 From the contact form the user enters a value for their email and is stored in variable $Email. It looks like you just need to use it in your mail function like this:
mail($emailadd, $subject,... |
Forum: PHP Oct 27th, 2007 |
| Replies: 7 Views: 1,023 Just edit the from field to show their email address. You will need to add another form element to your contact form then change the folowing code:
mail($emailadd, $subject, $text, 'From:... |
Forum: VB.NET Oct 25th, 2007 |
| Replies: 8 Views: 77,714 Hi, thanks for the help. I actually was able to get it to work using the following:
txtTest.text = Me.DataGridView.SelectedCells(8).Value
where 8 was the value I needed. I'll go thru the code... |
Forum: VB.NET Oct 24th, 2007 |
| Replies: 2 Views: 1,331 Exactly what I needed.. Thanks! |
Forum: PHP Oct 24th, 2007 |
| Replies: 5 Views: 1,363 to delete only one row from database, set your primary key as the value for the select like the following:
//create selection list
echo "<select name='events'>\n";
echo "<option... |
Forum: VB.NET Oct 23rd, 2007 |
| Replies: 8 Views: 77,714 Im trying to display data in a datagrid then once a row is selected show a different column of the database in a text box. I use the unique primary key in the datagridview as not visible so once the... |
Forum: VB.NET Oct 14th, 2007 |
| Replies: 2 Views: 1,331 Im trying to create a datagrid that will display an image instead of what is actually stored in the database. For instance if the result of a zodiac is leo, then show the leo image, or if it is... |
Forum: PHP Oct 14th, 2007 |
| Replies: 1 Views: 717 just make an html form that accepts two vars..user and pass then your code should look something like this
$sql = "SELECT * FROM `users` WHERE "user" = $_POST['user'] AND... |
Forum: Promotion and Marketing Plans Apr 12th, 2007 |
| Replies: 4 Views: 2,527 digiXMAS is good for automated submission and they feature around 150 directory sites. |
Forum: PHP Sep 1st, 2006 |
| Replies: 8 Views: 1,886 Since PHP is an interpreted language, The php interpreter must be called each time the script is accessed. However setting the headers in a php script, so that it will cache, will allow the page to... |
Forum: PHP Sep 1st, 2006 |
| Replies: 8 Views: 1,942 http://www.phpfreaks.com is a great site for learning PHP also. |
Forum: Visual Basic 4 / 5 / 6 Aug 30th, 2006 |
| Replies: 2 Views: 3,285 Yep , just what I was looking for. Thanks |
Forum: Visual Basic 4 / 5 / 6 Aug 30th, 2006 |
| Replies: 2 Views: 3,285 In my program I want to add records to the database and then reference them by a unique identifier such as a user id. Even if the user name is the same as another, The would be different IDs so I... |
Forum: Visual Basic 4 / 5 / 6 Aug 29th, 2006 |
| Replies: 3 Views: 6,708 Thanks, I didn't see the scrollbars property. Guess I was tring to go about it the hard way
StatiX |
Forum: Visual Basic 4 / 5 / 6 Aug 29th, 2006 |
| Replies: 3 Views: 6,708 I have a text box that will be populated by data, sometimes to long for the form and I wanted to add a vertical scroll bar to it, but I'm not sure how to link them together. I can place it on the... |
Forum: PHP Aug 28th, 2006 |
| Replies: 5 Views: 5,974 I don't have a unix box handy, just windows but this is what you would need to look at:
*****************************************
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port =... |
Forum: PHP Aug 28th, 2006 |
| Replies: 1 Views: 2,099 You will need to filter all your variables. Start with add_slashes() and strip _tags()
Also there is a big problem with PHP sending spam by users injecting the bcc field and sending spam to... |
Forum: PHP Aug 28th, 2006 |
| Replies: 2 Views: 1,216 Paypal offers Instant Payment Notification that will let you set it up where you will know the user has paid before downloading or displaying the image. They offer some downloads on their site. |
Forum: PHP Aug 28th, 2006 |
| Replies: 2 Views: 8,302 Try that and see if it works
Just loop thru the result using the array and print them
StatiX |
Forum: PHP Aug 28th, 2006 |
| Replies: 5 Views: 5,974 I had the same problem once, I could never get the mail() function to work. Turn out after a few hours I thought about checking my spam filter, and seeing all the emails that had actually worked but... |
Forum: Visual Basic 4 / 5 / 6 Aug 27th, 2006 |
| Replies: 5 Views: 3,510 PictureBox worked perfectly. Thanks agrothe |
Forum: Visual Basic 4 / 5 / 6 Aug 27th, 2006 |
| Replies: 5 Views: 3,510 I'm new to VB so my question is probably very simple. anyway here it is..
I want to make a side bar showing one form that is like a sidebar in a web page such as on the left side of the MDI form.... |