Is there any method in java to generate random number (integer, byte or float) ? Please tell me if any i need it in my program. If possible please give full example. Thanks!
|+0 forum 1|
|+0 forum 7|
$query = "INSERT INTO 'user-profiles' ('name', 'avatar', 'description', 'votes', 'pay_methods', 'location', 'user_id') VALUES ('sadj', 'qwesad', 'sadqwdqw', '0','sadsad', 'sadasdsad''4')"; $resultprof = $this -> conn -> query($query); votes and user_id are INT columns, and user_id is a foreign key. Making this insert on mySQL directly it works perfectly, but on my PHP the "success" is false....
|+0 forum 5|
I need help with implementing MySQL transactions with PHP. Specifically, I'm confused between the flags `WITH CONSISTENT SNAPSHOT`, `READ WRITE`, and `READ ONLY`, what their differences are, and how they relate to table locking. I already read the MySQL reference manual but I'm still confused.
|+2 forum 6|
|+1 forum 12|
I see a +0 next to post comments. Thought this was supposed to be votable. Nothing happens on tapping. BTW on Android. Also when I entered a comment and then decided to edit it, the original text did not show up in the edit box. So made me think I wS posting a new additional comment. Meaning I lost it and had to enter a comment for the third time! Also why does edit post appear as an option when I clearly don't have the right to alter somebody else's post?
|+1 forum 9|
|+1 forum 3|
Hi I am trying to create a login page from my existing Wordpress Database with custom php file. can any one please help me.
|+0 forum 4|
I want to redirect my users to my mobile site. My mobile site is in a subfolder instead of a subdomain. Here is how I want it to work ... Request sent to: https://www.picturepunches.com/hot Redirect to: https://www.picturepunches.com/mobile/hot I also don't want to effect the images on that page. So I want the images to be: https://www.picturepunches.com/pictures/user/1937/19974-Theosawmon.jpg And not: https://www.picturepunches.com/mobile/pictures/user/1937/19974-Theosawmon.jpg How can I do dis?
|+0 forum 12|