Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 65
Search took 0.10 seconds.
Search: Posts Made By: willscarlet
Forum: PHP 12-21-2012, 12:35 AM
Replies: 1
Views: 303
Posted By willscarlet
PHP Email script

Hello everyone, I have used this same email script close to a hundred times now on different sites. For whatever reason, this will not send the email to the CC, any suggestions?

<?php

$to =...
Forum: PHP 12-19-2012, 02:29 PM
Replies: 7
Views: 417
Posted By willscarlet
On line 39, that is the line that shows allows...

On line 39, that is the line that shows allows the page to show fill in the form below with that particular records details, if I remove it, it throws all kinds of errors and wont show the form.
...
Forum: PHP 12-19-2012, 02:04 PM
Replies: 7
Views: 417
Posted By willscarlet
I think I understand that now. Is this what you...

I think I understand that now. Is this what you are talking about, sir?

<div class = \"button\">
<table>
<tr>
<td>
<input type=\"hidden\" name=\"StreetID\" value=\"$StreetID\"/>
<input...
Forum: PHP 12-19-2012, 01:22 PM
Replies: 7
Views: 417
Posted By willscarlet
Ok, I see what you meant about the flawed logic,...

Ok, I see what you meant about the flawed logic, however, when I redo the code, I still get the same error just on a different line.

Error:
Notice: Undefined index: StreetID in...
Forum: PHP 12-18-2012, 09:18 PM
Replies: 7
Views: 417
Posted By willscarlet
PHP MsSQL Modify/Delete

First off, thank you guys for helping me fix this little project of mine and teaching me a bit along the way thusfar.

Now the program needs to be able to view a record and allow the user to modify...
Forum: PHP 12-18-2012, 08:18 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Fantastic, this is working great so far. you guys...

Fantastic, this is working great so far. you guys are awesome. I promise after this project I am never messing with PHP and MsSQL again, going back to MySQL, maybe I wont have to bug you guys as much...
Forum: PHP 12-18-2012, 02:58 PM
Replies: 52
Views: 1,290
Posted By willscarlet
That is throwing a generic 500 internal error. ...

That is throwing a generic 500 internal error.
Also tried taking the 4th ) away from the end. Same end result though.
Forum: PHP 12-18-2012, 02:42 PM
Replies: 52
Views: 1,290
Posted By willscarlet
I'm an idiot, I forgot that I had goten rid of...

I'm an idiot, I forgot that I had goten rid of that. now in submit, it is throwing this out on a solid white page:

Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -57 [code] => -57...
Forum: PHP 12-18-2012, 02:23 PM
Replies: 52
Views: 1,290
Posted By willscarlet
I thought it was already POST. How do I change...

I thought it was already POST. How do I change it, sir?
Forum: PHP 12-18-2012, 01:49 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Changed, still showing no errors, sir.

Changed, still showing no errors, sir.
Forum: PHP 12-18-2012, 12:57 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Okay, I changed the code around abit as you...

Okay, I changed the code around abit as you suggested, sir. however now it no longer lets me enter information into the database. maybe I havea syntax error that you would be able to easily spot? no...
Forum: PHP 12-17-2012, 09:51 PM
Replies: 52
Views: 1,290
Posted By willscarlet
My newness is really shinning here, but, I see...

My newness is really shinning here, but, I see your example I am really not familiar with this implode funtion at all:

$a = array()// your array of key => values
$sFields = implode('], [',...
Forum: PHP 12-17-2012, 09:24 PM
Replies: 52
Views: 1,290
Posted By willscarlet
That worked that time. I commented out that line...

That worked that time. I commented out that line and I was able to enter a text street name. does this mean that the data entry script is working correctly, sir?

If so, to enter all the other...
Forum: PHP 12-17-2012, 09:10 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Okay, I added the print $strSQL; into the code...

Okay, I added the print $strSQL; into the code and when I hit the refresh button, the page shows normally, but this line is present at the top left corner of the page:

INSERT INTO MSAG...
Forum: PHP 12-17-2012, 07:13 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Thank you for the advice, I have changed the form...

Thank you for the advice, I have changed the form syntax. The in page styling is just there temporarily. The CSS will be created in detail after I actually get the enter, update, and delete features...
Forum: PHP 12-17-2012, 05:51 PM
Replies: 52
Views: 1,290
Posted By willscarlet
I turned on the errors and all, but still not...

I turned on the errors and all, but still not recieving an error, Page is still simply refreshing itself:

In my isset, what is the purpose of having LOWNUMBER in that spot? I tried replacing it...
Forum: PHP 12-17-2012, 04:30 PM
Replies: 52
Views: 1,290
Posted By willscarlet
I thank you for taking the time to continue to...

I thank you for taking the time to continue to help me figure this out, however, I fear I may be a tad too simple minded. Im am very confused about your last post sir. Im sure it was worded properly,...
Forum: PHP 12-17-2012, 04:17 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Fou, you are correct again. I remember having...

Fou, you are correct again. I remember having this issue in the very beggining when I started this project. I had to convert all the MySQL to sqlsrv for the most part. I did so, and had to add my...
Forum: PHP 12-17-2012, 03:59 PM
Replies: 52
Views: 1,290
Posted By willscarlet
okay, now it shows the error being thrown: ...

okay, now it shows the error being thrown:
Fatal error: Call to undefined function mssql_query() in C:\Inetpub\wwwroot\msag\enter.php on line 28

<?php
include 'includes/db/connect.php';...
Forum: PHP 12-17-2012, 03:47 PM
Replies: 52
Views: 1,290
Posted By willscarlet
The form shows up fine on this one, however, on...

The form shows up fine on this one, however, on submit, it thows an internal 500 error. I turned on error reporting, but that didnt help at all:

<?php

ini_set('error_reporting', E_ALL);


...
Forum: PHP 12-17-2012, 03:35 PM
Replies: 52
Views: 1,290
Posted By willscarlet
No need to aplopgize to me sir, I am the one...

No need to aplopgize to me sir, I am the one bugging you guys :) I know a bit about mySQL...just a bit, but the MsSQL seems like it is completely different.

I modified my code, but now the for...
Forum: PHP 12-17-2012, 03:14 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Okay, Iu am certain that I am just messing this...

Okay, Iu am certain that I am just messing this up pretty badly. I am still getting the same reult, using this code. I think the foreach is confusing me a bit:

<?php

...
Forum: PHP 12-17-2012, 03:00 PM
Replies: 52
Views: 1,290
Posted By willscarlet
Thank you all for the adviuce thusfar, OIne...

Thank you all for the adviuce thusfar, OIne question though. You say this will work in MySQL, but im using MsSQL Server 2008. So the syntax is different in some cases. Do you still advice that I do...
Forum: PHP 12-17-2012, 02:51 PM
Replies: 52
Views: 1,290
Posted By willscarlet
This is the output that I get: (For simplicity, I...

This is the output that I get: (For simplicity, I just added a '1' as the value for everything.)

Array
(
[StreetPrefix] => 1
[StreetName] => 1
[StreetSuffix] => 1
...
Forum: PHP 12-17-2012, 02:39 PM
Replies: 52
Views: 1,290
Posted By willscarlet
PHP / MsSQL

Hello everyone. trying to allow a user to insert data into a MsSQL database with PHP. When the user types in the data to be entered and preses the submit button, the page refreshes but the data does...
Showing results 1 to 25 of 65

 
Forum Jump

All times are GMT +1. The time now is 06:15 AM.