I keep getting this error:
mysql_fetch_assoc():supplied argument is not valid MySQL result resource in x on line 24.
And here is that code:
$cxn = @ConnectToDb(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE);
$transLog = mysql_query("select * from tblTransLog where...
I have just seen a lovely rollover effect in the gadget shop website, and cant fathom out how they have done it.
Any ideas guys?
http://www.gadgetshop.com/gadgetshop/index.jsp
Its the black surround as you rolloevr the stock.
Lee
Can anybody point me to a very decent tutorial where I can create a e-card system on my website for user to use.
I got a lot of characters on my site, and it coudl be a really nice touch.
Thanks
lee
i am integrating barclays epdq into zen cart, and all seems to work fine until I wont to pass anything up using hidden fields.
I contacted barclays and been through their notes and they say this is the right way of stopping teh delivery address from showing, as I dont need it as I only require...
I am interested to find out who my competitor has linking to them, as they are always above me.
Is there any decent free software out there than can give me a reasonable list of their in bound links.
Why I say resonable, as I know in most cases is that you get what you pay for.
Cheers
Lee
I am workign in zen ecommerce and I am having difficulty getting some help in the forums there, fo my problem.
I have a drop down list that is filled dynamically with countries. Basically in this one part all I need is 13 countries which i have a list for.
Below is the code that ultimately...
Hi all,
A client just had a moan at me at how a competitor in google sits above him in the listings, because he occupies top spot through the sponsored links.
I know about the sponsored links down the right, but how does his competitor get the very top spot as a sponsored links?
Does he pay...
I have created a function to help load jpeg's into a movie holder depending on the name of the variable attached to the codebase.
In this case the name of the variable in the codebase is "Home", but thats not really the problem, its the calling of the function of if a variable equals to the...
I had a simple form sending an email with the users details. I want to now add a file attachment, and have looked in google and there seems to be answers, but they are very difficult to follow.
This is my code:
<form method="post" action="sendmail.php">
Name: <br/>
<input...
I have a Dell Dimension 4500 and it is extremmely slow, very annoying and so un-responsive.
Anyway I can send anything over so that somebody can take a look and advise.
cheers
Lee
This is the site:
http://www.checksafetyfirst.com/en/result.php?pagesize=9&hlist=0&selectCountry=0&selectRegion=0&ratings=0&hotname=&absolutepage=1
Everything is working properly, but my boss asked if I could make all these hotels display randomly - so i said no problem and changed this...
I have a client that I set up a database for him, and it runs fine and basically he has put old stock in and it comes out on top of the newer stock because of the autonumber id.
Can i do something in access that will allow me to edit the autonumber value and save it, so I can get the older...
I have a table, which I have posted below without any of the php included. It is failing a validation because it says Im missing an child element, I have tried and tried and dont seem to be able to figure it out.
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" >...
I have a loop that only needs to bring out 3 hotels from the database which is set here:
http://www.ecristal.co.uk/en/Test/
$mPageSize = @$HTTP_POST_VARS["txtPageSize"];
if ((!isset($mPageSize))||intval($mPageSize)==0)
{
$mPageSize = @$HTTP_GET_VARS["pagesize"];
if...
Its in this forum that I first saw it, and thats when specific keywords have an underline, and when you roll over them an advertisment pops up.
I dont want to use them to advertise, I would like to adopt it so that certain words on a website can be explained further.
Thanks Lee
p.s lol my...
I am trying to reduce a select statement by adding a where clause, which doesnt want to work...
Here it is:
$buildquery.=" select distinct(t1.Nom_Hot ), t1.Id_Hot hotel_id , t1.Nom_Hot hotel_name , t2.Nom_Cat star_rating , t3.Nom_Cntry country, t1.Foto1_Hot foto1 where IdType_Hot='1'";
Can...
I am trying to reduce a select statement by adding a where clause, which doesnt want to work...
Here it is:
$buildquery.=" select distinct(t1.Nom_Hot ), t1.Id_Hot hotel_id , t1.Nom_Hot hotel_name , t2.Nom_Cat star_rating , t3.Nom_Cntry country, t1.Foto1_Hot foto1 where IdType_Hot='1'";
Can...
I have an issue with regard to pulling out only certain objects from a database, which at the moment is pulling everything out.
Here is the code:
$q=mysql_query('select * from tbl_standards order by Id_Stand') or die(mysql_error());
while($r=mysql_fetch_row($q)) {...
I followed a thread titled 'http://www.highrankings.com/forum/index.php?showtopic=22759&st=0&p=242355&#entry242355' and got out of it the code below:
<%
dim i, newURI, req, pageArray(1,50)
pageArray(0,0) = "test.htm"
pageArray(0,1) = "test.asp"
bFound = false
for i = 0 to ubound(pageArray,1)...
I have put together a 404.asp error handling page that I havent sorted out yet with my clients host.
I re-designed a clients webapge, and moved some of his .htm files to .asp so i was told that this is the best way of handling it.
I have entered the code below, and was wondering if somebody...
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.