![](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
fugix
-
Posts
1,483 -
Joined
-
Last visited
Posts posted by fugix
-
-
this can be done several ways....the way i would do it would be to utilize AJAX to send the value to an external php source..
-
looks to me like it places scripts into your document root directory..shouldn't be tampered with unless the config file is moved to another location
-
memorial day = my bday
-
just looked at the function you posted...will work if used correctly...mrdav are you still needing assistance with this?
-
im guessing that this occurs when you assign $row['website'] to you href...you either need to wrap it in curly brackets eg
{$row['website'] }
or assign it to a variable e.g
$website = $row['website'] ;
then use $website in your href instead of $row['website']
-
it's good to see someone else that is using as much emoticons as me
Welcome!
and if you want to learn css, check out the tutorial of crmamx!
lol...
-
Glad I could help
-
And actually you would want your $row['website'] to be your href. Just make sure to add http:// if it doesn't have it already
-
I didn't post any code. The code I have is simply part of my signature.
Echo "<td><a href=''>".$row['website']."</a></td>
-
why dont you simply wrap the third the third text field in anchor tags as each one is drawn out of the db?
-
figured it out
-
-
wishing everyone a happy and safe memorial day.
-
What are you guys talking about...that picture is Gizmola.
lol...awwww gizmola
-
edit: it cycles through all of the alerts...even the succes alert...so it must be working, however i dont want the other alerts to appear
-
For the first problem, you don't need AJAX. simple Javascript will suffice, though, if you are comfortable with Jquery, or would like to learn it, Jquery is the way I would do it. It is cross-browser compatible (as all the different ways browsers interpret javascript, especially DOM functionality is behind the scenes in Jquery), and makes development of DOM altering features alot easier and quicker.
if you are interested in Jquery, try this tutorial: http://www.w3schools.com/jquery/default.asp
If you simply want a javascript solution, try a google search for altering the HTML DOM with javascript. Also, if you are unfamiliar with javascript in general, I would google for few javascript tutorials, and read about how it works, because using Jquery without a solid understanding of javascript is a recipe for disaster
But this isn't quite the correct forum to go over this, so you may have more luck asking about this in the javascript help forum
-
sounds like it could be a pathing error
-
alright guys this one has me stumped...i have this function
function showFriends() { var xhr; if(window.XMLHttpRequest) { xhr = new XMLHttpRequest(); } else if(window.ActiveXObject) { try { xhr = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {} } } xhr.onreadystatechange = function() { if(xhr.readyState == 4) { if(xhr.status == 200) alert("success"); else alert('Problem with readyState'); } else { alert("Problem with status"); } }; xhr.open("GET", "test.txt", true); xhr.send(null); };
just to see if I can grab text from a text file when i click a button...when i click the button is triggers the function correctly, however i receive both status and readyState Problem errors...im not sure if this is because it cant grab the data from the text file or what...any suggestions? thanks
-
why should that be causing errors? you need that if statement to check if your response is ready...however it should read
if(XMLHttp.readyState == 4)
-
gizmola i have to ask because I have been wandering for quite some time...is you avatar picture your daughter making a funny face?
When she was a baby, yup although the picture was out of focus which created the smirk.
ahhh, the smirk is hillarious...says "dont mess with me!"
-
i believe that if you place the label tag inside of the form tag it should be horizontal
-
i believe that in order to grab the value of the input you need to change this
<input type="text" id="ae_xrefnum" itembarcode="divE1" />
to this
<input type="text" name="ae_xrefnum" itembarcode="divE1" />
-
the one thing that i notice is your use of php_self as you form action....this should normally be avoided..here is why
-
gizmola i have to ask because I have been wandering for quite some time...is you avatar picture your daughter making a funny face?
parse javascript to php
in Javascript Help
Posted
if you are not familiar with AJAX you can use this resource here