Error |
Error |
tudsy |
Aug 19 2017, 12:35 AM
Post
#1
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
With this query string, I get the error: [19-Aug-2017 05:13:26 UTC] PHP Parse error: syntax error, unexpected '<' in /home/ecovibdc/public_html/ECOVIB2D/MYART/processmidpage.php on line 135 [19-Aug-2017 05:17:15 UTC] PHP Notice: Undefined index: username in /home/ecovibdc/public_html/ECOVIB2D/MYART/ecovib2d1.php on line 187 [19-Aug-2017 05:17:15 UTC] PHP Notice: Undefined index: email in /home/ecovibdc/public_html/ECOVIB2D/MYART/ecovib2d1.php on line 187 When I load ecovib2d1.php, load the graphic and hover over the buy button, I get a 'NaNNaN.........' type of output on the status bar. I do not know what is happening? I think I have defined username and email correctly in the query string? document.getElementById('form').action="http://103.226.223.161/~ecovibdc/ECOVIB2D/MYART/processmidpage.php?username=" + <?php echo $_GET['username'];?> + "&email=" + <?php echo $_GET['email'];?> + "&Person=" + personname + "&Price=" + Priceofart + "&Graphic=" + picname.replace('w.bmp','.bmp'); Thanks. Attached File(s) processmidpage.php ( 3.82k ) Number of downloads: 506 ecovib2d1.php ( 10.02k ) Number of downloads: 465 |
CharlesEF |
Aug 20 2017, 09:01 PM
Post
#2
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Well, can't you post the URL so I can see how it looks? Also, post new files (the 2 posted before). I want to make sure I'm working with the version as you.
I didn't go over every line of code, I only looked until I found the reason for the error/warning messages you posted in your 1st post. There still could be more errors. |
Lo-Fi Version | Time is now: 19th April 2024 - 12:03 PM |