Cyto
-
Posts
69 -
Joined
-
Last visited
Posts posted by Cyto
-
-
Hey,
Got 2 row's as defined: No
What i want to do is:
If the 2 row's still have the value No echo it, but if row 1 have a changed value echo only row 1. Same goes to row 2.
And the 2 row's have both a changed value echo both.
Can someone help me?
Cheers.
-
Ok thx.
-
Can it be done?
-
So that the auto increment will go in order.
-
Hey,
Can i clear up a row from 1 till last one to get ordered. Because its now like:
1 3 7 10 15 18, want to have 1 2 3 4 5 6 instead.
I hope you get it.
Cheers.
-
Fixed, i looked again and again in .htaccess file. I had the same file name of the rewriterule
-
Yes, it is allowed and register_globals is set to On(dunno wye). Its wierd, because:
I got 2 pages a profile and a public profile.
profile works, but uses session id
public profile doesnt work with seo and uses get id. With no seo it works and uses get id
so uhh, :-\
-
You need to add the rewrite rules in .htaccess (something I am definitely no good with).
I alrdeay have that. It doesn't work with rewrite rule (the link) example/12, but with example.php?id=12 it works.
-
I found out that get and post isn't the problem or the register_globals. The links that i'm using are friendly(seo) without seo it works It displays the name, but with seo it doesnt work. Someone know wye?
-
Wye should i post a code if its not a code problem.
-
Have you done anything to debug this? My gut reaction is that your scripts rely on register_globals = On (which is bad), and the new host has register_globals = Off (which is good).
Yes, register_globals = on by the new host. At the old host is off, so yeah that should be the issue. Mailed the hoster to turn it of. Let you know tomorrow. Thx
-
Well, because with POST it was being saved when submit. And with the GET it was displaying the user's name at title of the page(top browser name tab). GET is getting the id of the users and POST is submitting the same page to be saved. Now it doesn't post or get it and i think its a hosting problem, but dunno what would cause it.
I am not getting a error message.
-
Hey,
POST and GET was working on my previous hosting, but not on my currently one. Do i need to enable something in php or something else to get it to work.
Cheers
-
See it has: uploading a avatar, you can choose one of the list that the site provides or upload via a link and insert in the row with the same name of the 2 options.
-
Hey, who can help?
Example:
I want to insert a row with a input and a select option. I am inserting now with select option, but i want to insert with a input too, because if i need to insert a link instead of choosing from select option.
---------
(puts a link)Link: ...link...
(chooses nothing)Select: Choose one...
Submit
---------
I need something like if LINK is filled insert it. Nothing happens to SELECT, but they have to have the same row names.
Hope its clear enough.
Cheers
-
This might be the time to learn ajax It's actually very simple if you use jquery. It can be as simple as this:
$.get('mark_user_as_timed_out.php');
You would want to have that executed after a 30 second delay, using javascript setTimeout(), such as at http://www.htmlite.com/JS018.php . What will happen is the user's browser will run that php script, but their page won't be updated (unless you want it to be).
Would you mind explaining it further, getting confused
$.get('mark_user_as_timed_out.php'); Is jQuery i know that its like including a php file.
But the JS part is where i got stuck. How am i going to set a update row with JS on mark_user_as_timed_out.php?
thanks for your comments much appreciated.
-
Yes, If the user is viewing the page within 30 sec or min, hours update row if not, do nothing. Is this possible with php only? cus dont know ajax.
-
Hi,
I want to update a row when 30sec are passed on a page. If not nothing happens(not updating row).
Example:
You go to example.php>> 30sec pass, update row>> 30sec not over, no update.
it does not necessarily have to be second it can be minutes or hours.
Who can help me?
Hope its clear enough, Thanks.
Question
in PHP Coding Help
Posted
I dont have a code, trying to make one as mentioned above.