Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-12-2013, 01:08 AM   PM User | #16
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
It is a hassle (-: I'm java user myself, as I think, Old Pedant too. So, no PHP here.

I would suggest to do, split problem to smaller chunks, and see on which line it dies.: ....
But again, I'm mostly guessing PHP:

Code:
$tmpStr =  '<td><a href="delete_job.php?id=';
$tmpStr = $tmpStr . $row['ID'];
$tmpStr = $tmpStr . '"';
.....
and if it does not die here somewhere , it will on echo command,
then you will have $tmpStr, to see what is in it (catch it on server side....)
__________________
Found a flower or bug and don't know what it is ?
agrozoo.net galery
if you don't spot search button at once, there is search form:
agrozoo.net galery search
BubikolRamios is offline   Reply With Quote
Users who have thanked BubikolRamios for this post:
Eggweezer (02-12-2013)
Old 02-12-2013, 01:10 AM   PM User | #17
Eggweezer
New Coder

 
Join Date: May 2012
Posts: 98
Thanks: 76
Thanked 0 Times in 0 Posts
Eggweezer is an unknown quantity at this point
Thanks BubikolRamios,
I will try that. I appreciate your direction.
Eggweezer is offline   Reply With Quote
Old 02-12-2013, 01:16 AM   PM User | #18
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
Try allso replacing:
('Are you sure you want to delete?')
with
(\'Are you sure you want to delete?\')

the \ is java escape character thing, but might be also suitable for PHP
__________________
Found a flower or bug and don't know what it is ?
agrozoo.net galery
if you don't spot search button at once, there is search form:
agrozoo.net galery search
BubikolRamios is offline   Reply With Quote
Users who have thanked BubikolRamios for this post:
Eggweezer (02-12-2013)
Old 02-12-2013, 01:32 AM   PM User | #19
Eggweezer
New Coder

 
Join Date: May 2012
Posts: 98
Thanks: 76
Thanked 0 Times in 0 Posts
Eggweezer is an unknown quantity at this point
SOLVED!
Works perfect! Thank you very much for all of your time!
I really do appreciate it. I will be using that a lot. Awesome!
Eggweezer is offline   Reply With Quote
Old 02-24-2013, 04:08 PM   PM User | #20
Eggweezer
New Coder

 
Join Date: May 2012
Posts: 98
Thanks: 76
Thanked 0 Times in 0 Posts
Eggweezer is an unknown quantity at this point
And when I say "Solved", I mean solved by BubikolRamios.

Yes, it was fixed by adding the forward slashes to ignore the special charactors. Ex....... (\'Are you sure you want to delete?\')

Just wanted to make it clear that I did not solve it!
Thanks again!
Eggweezer is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:00 AM.


Advertisement
Log in to turn off these ads.