I am trying to get php 4.3.1 apache 1.3x and the mssql functions working. When I try to run a basic connection, just to connect to the (remote) mssql server apache crashes, keep getting a page fault error in the ntwdbdlib.dll file. Note this system is on win98se..
thanks,
$phone = '6467897654';
$phone = ereg_replace("([0-9]{3})([0-9]{3})([0-9]{4})", "(\1) \2-\3", $phone);
the output comes out like
() -
need phone number to look like (646)789-7654
And is there any difference between regex on windows and linux?
//foreach ($catname as $category)
//{
//echo $category."<br>";
//}
?>
<p>Links >> <?=$catname[0]?></p>
ok I got rid of the the above lines and added the [0];
looks like its working
:)
thanks for everything
ok both your options worked, but theres one little problem..
The output becomes
links >> category
depending on the amount of records the query gets, thats how many words get outputted. For example if theres three records the screen shows
links >> categorycategorycategory
thank you so much...
Cat one
Cat two
Cat three
links >> $catname
<a href="www.website.com">My Web Site</a><br>
<a href="www.website2.com">My Web Site two </a><br>
<a href="www.website3.com">My Web Site three </a><br>
ok this is probably very simple but I cant figure out how to do it. :(
$query2 = "select * from links, linkscat where linked = 1 and category ='".$_GET['cat']."' and category = linkscat.id";
$result2 = mysql_query($query2);
echo $catname;
while ($row2 = mysql_fetch_assoc($result2)) { ?>...
say theres a query
mysql_query("select * from table where id ='$id'");
how can I print out the query statement? i.e...
select * from table where id = 3
thanks
I have two columns, one is an int and the other is a date,
I want the records to show first the null values in the int column and have that sorted by date, then the rest of the rows sorted by date.
I tried doing
order by int asc, date asc, but it only orders the null values properly.
so this...
one more question, when clicking on entire network, shouldnt it at least show the computer i am on. in xp it does this, in win98 i dont see the win98 pc or for that matter anything...
I tried using the find computer in search it finds my local computer but when i click on open it says...
ok i got the two pc's pinging each other, apparently the winxp had mcafee security firewall loaded. I tried doing what that above website suggested now i cant even share files on the win98 machine. :( (nothing in the right click menu when clicking on a folder. File sharing is enabled. This is...
i have two machines win98se, winxp pro sp2 sharing an internet connection through a netgear router. That works fine. I tried to enable file sharing on both computers and cant get it to work.
win98se 192.168.0.2 255.255.255.0
winxp pro sp2 192.168.0.3 255.255.255.0
gateway 192.168.0.1
DHCP...
I have verizon adsl, using an old westell modem, i can get onlin with it (I am on it right now) hooked up to one computer directly. But when I try to hook up the netgear router (its a mr814 version 3) between the pc and the westell modem I cant get online. (note win98se is the OS)
I called up...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.