I put in your line of code and got an error
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE...
Type: Posts; User: mikster; Keyword(s):
I put in your line of code and got an error
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE...
I want to keep the random too how would I do that?? Should I be doing Less then if I want it to be no further then 30 days ago??
This is the code i have now
$ransql = bb_db_query("select * from album where active='Y' and find_in_set('117',categories) ORDER BY album_id DESC LIMIT 5");
I was wondering if its possible to...
Perfect thanks alot.
Hi
I have a code that looks like this atm for mysql db display.
$modsql = bb_db_query("select * from regd_members order by username limit 24");
Basically it list all the regd_members in the...
Nice...I used some codes found on that site. I'm still missing the twitter and a few more. Do you have any other sites on your list?
Does anyone know where I can go to retrieve the codes to set them up. If you don't know what i'm talking about go on youtube and click on the Share button and the icon will show. Once you click...
Hi John,
What can I say....YOU ARE THE GREATEST PERSON ALIVE :D Thanks for the code...that's exactly what I needed.
Hi John,
I just tried out your code and was wondering how did you tell the script to show the first 3 words in the <p> ?? I can't seem to figure it out. Can you script specify to show X amount...
Hi John
Once again thanks for the code...That's actually a perfect toggle script if u ask me...the only problem with that code would be you would have to manually type in what is shown and what is...
Thanks for the reply...sorry to make it so hard to understand. I have a code that displays the full bio which usually contains over 1000 characters. I'm using a substr to limit the characters...
Hi,
I'm looking for a toggle script that shows and hide a large paragraph of text. I have this one here
<script type="text/javascript" src="jquery.js"></script>
<script...
Hi,
http://imgur.com/gallery when you scroll to the bottom more content is displayed without the page reloading. How is this done?? My only guess is ajax?? Can someone point me to the right...
What's the code to make it vertical :D
Hi Jshor,
I'm anaylizing your code and it looks like what it does is that when ever there's a TRUE to checkbox it "Performs event". Sorry for not making it clearer in the beginning...I don't...
Hi thanks for the help...one question.....what if i have multiple checkbox would I have to give a unique name to the functions for each??
Hi,
How would I write a php if else statement to check to see if the INPUT checkbox is clicked then Do this.
I have a category input check box which I want to expand into a sub category once...
Can someone recommend a good pagenation script. I'm looking for one that similar to youtube where it display a max of 25 pages at a time etc. Thanks in advance.
Hi my code looks like this
<input type="hidden" name="username" value="<?=$_SESSION['member']?>" /><br>
<input type="image" name="Submit" value="Add New Album" src="/images/addalbum.gif"...
Hi Trac,
With that code do you mean it doesn't passes data to the database?? I want a line that passes data from the form to the mysql database to the selected checkbox category_name.
Hi Adrian thanks for the help I kinda know where u'r getting at. Just one more question isn't there a simple code that I can assign the check box to the corresponding category_id once form is...
Hi Adrian
That's exactly what i want. The basic 101 <input checkbox>category name. I just tried your code and i got an error. It was my bad from the start to not post the header portion of the...
Hi Adrian
First of all thanks for your help. I've tried your code and it listed all the categories in the db in a loop which does the exact same thing as the old code but that's not what I'm...
Hi Jshor
Let me know if i'm getting this right...that code you pasted fetches the data from the mytable category 9 into $catsql?? If so how should I edit the input part??
<input...
Hi,
I don't know much about php but I have a understanding of programming. My site is written in php and my programmer is MIA so i gotta get this figured out on my own. I'm trying to organize my...